diff --git a/scripts/code-web.js b/scripts/code-web.js index 5130e27b9b9942..d91c6a08489233 100644 --- a/scripts/code-web.js +++ b/scripts/code-web.js @@ -59,7 +59,7 @@ async function main() { if (args['port'] === undefined) { serverArgs.push('--port', PORT); } - if (args['playground'] === true || (args['_'].length === 0 && !args['--folder-uri'])) { + if (args['playground'] === true || (args['_'].length === 0 && !args['folder-uri'])) { serverArgs.push('--extensionPath', WEB_DEV_EXTENSIONS_ROOT); serverArgs.push('--folder-uri', 'memfs:///sample-folder'); await ensureWebDevExtensions(args['verbose']);