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 cb4fcb5 commit e8ef630Copy full SHA for e8ef630
src/project/nativeScriptCli.ts
@@ -27,7 +27,8 @@ export class NativeScriptCli {
27
public executeGetVersion(): string {
28
try {
29
const versionOutput = this.executeSync(['--version'], undefined);
30
- return this.getVersionFromCLIOutput(versionOutput)
+
31
+ return this.getVersionFromCLIOutput(versionOutput);
32
} catch (e) {
33
this._logger.log(e);
34
@@ -64,6 +65,7 @@ export class NativeScriptCli {
64
65
66
private getVersionFromCLIOutput(commandOutput: string): string {
67
const matches = commandOutput.match(NativeScriptCli.CLI_OUTPUT_VERSION_REGEXP);
68
69
return matches && matches[0];
70
}
71
0 commit comments