fix: Close #164414, correct transparent transmission folder-uri (#164415)

This commit is contained in:
易良 2022-10-24 21:51:56 +08:00 committed by GitHub
parent b757c8e3ca
commit ac0c034066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']);