Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Aeschlimann <martinae@microsoft.com>2022-02-04 16:58:04 +0300
committerMartin Aeschlimann <martinae@microsoft.com>2022-02-04 16:58:10 +0300
commit4b5fee322f2dc711479f4c42145c91bbb5551c94 (patch)
treeaa89adf1726d61a52c6df872e295037f46dbe59a /scripts
parent33bca7f23ebabe6d0387e7b8664c2ed3d57491ac (diff)
code web script refine playground handling
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-web.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code-web.js b/scripts/code-web.js
index ceee8aa4283..a232c2b3eb9 100644
--- a/scripts/code-web.js
+++ b/scripts/code-web.js
@@ -60,7 +60,7 @@ async function main() {
serverArgs.push('--port', PORT);
}
- if (args['playground'] === true || (args['playground'] !== false && args['_'].length === 0)) {
+ if (args['playground'] === true || (args['playground'] === undefined && args['_'].length === 0 && !args['--folder-uri'])) {
serverArgs.push('--extensionPath', WEB_DEV_EXTENSIONS_ROOT);
serverArgs.push('--folder-uri', 'memfs:///sample-folder');
await ensureWebDevExtensions(args['verbose']);