Commit 665d93c
committed
Fix ios commands when platforms dir is removed
When you run `tns run ios`, nativescript-cli will add the ios platform in case you have not added it before that. But in case you have added the platform before that, but you have removed the platforms dir, the call fails.
Make sure the platforms/ios directory exists before executing any action of copying the files.1 parent d535be0 commit 665d93c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | | - | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments