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.
1 parent 681dfe2 commit b1dadb2Copy full SHA for b1dadb2
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