We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 681dfe2 + b1dadb2 commit da67d99Copy full SHA for da67d99
src/project/nativeScriptCli.ts
@@ -57,7 +57,7 @@ export class NativeScriptCli {
57
58
// always default to cmd on Windows
59
// workaround for issue #121 https://github.com/NativeScript/nativescript-vscode-extension/issues/121
60
- if (os.platform().indexOf("win") != -1) {
+ if (utils.getPlatform() === utils.Platform.Windows) {
61
this._shellPath = "cmd.exe";
62
}
63
0 commit comments