Don't send over npmLocation on web

This commit is contained in:
Matt Bierner 2021-11-18 16:04:29 -08:00
parent 3c7bc14d8c
commit 75c202e435
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -256,7 +256,7 @@ export class TypeScriptServerSpawner {
}
}
if (configuration.npmLocation) {
if (configuration.npmLocation && !isWeb()) {
args.push('--npmLocation', `"${configuration.npmLocation}"`);
}