fix(lib/vscode): update path for logService

This commit is contained in:
Joe Previte
2021-03-12 14:43:05 -07:00
parent 8f414b5005
commit 875dfb66a4
3 changed files with 7 additions and 7 deletions

View File

@@ -137,7 +137,7 @@ const extractTar = async (tarPath: string, targetPath: string, options: IExtract
See commit: https://github.com/microsoft/vscode/commit/a0d76bb9834b63a02fba8017a6306511fe1ab4fe#diff-2bf233effbb62ea789bb7c4739d222a43ccd97ed9f1219f75bb07e9dee91c1a7
3/11/21 @jsjoeio
*/
return fs.promises.mkdir(targetFileName, { recursive: true }).then(nextEntry)
return fs.promises.mkdir(targetFileName, { recursive: true }).then(nextEntry);
}
const dirName = path.dirname(fileName);
@@ -151,7 +151,7 @@ const extractTar = async (tarPath: string, targetPath: string, options: IExtract
See commit: https://github.com/microsoft/vscode/commit/a0d76bb9834b63a02fba8017a6306511fe1ab4fe#diff-2bf233effbb62ea789bb7c4739d222a43ccd97ed9f1219f75bb07e9dee91c1a7
3/11/21 @jsjoeio
*/
await fs.promises.mkdir(targetDirName, { recursive: true })
await fs.promises.mkdir(targetDirName, { recursive: true });
const fstream = fs.createWriteStream(targetFileName, { mode: header.mode });
fstream.once('close', () => next());