Commit 90107c0
committed
Fix getting the version of nativescript-cloud
In case `nativescript-cloud` lib is not installed, the spawned tns command fails and prints the result to the stdout.
So add parsing of the result and use it only when the stdout is valid version.1 parent 7fbd177 commit 90107c0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments