debt - ensure file scheme when using .fsPath (#191960)

This commit is contained in:
Benjamin Pasero
2023-09-01 15:33:06 +02:00
committed by GitHub
parent 660e12b312
commit 4f424db46e
17 changed files with 44 additions and 35 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ class CliMain extends Disposable {
// Init folders
await Promise.all([
environmentService.appSettingsHome.fsPath,
environmentService.appSettingsHome.with({ scheme: Schemas.file }).fsPath,
environmentService.extensionsPath
].map(path => path ? Promises.mkdir(path, { recursive: true }) : undefined));