Skip to content

Commit 08d424e

Browse files
Mitko-KerezovDimitar Kerezov
authored andcommitted
Ignore scripts when checking CocoaPods
Install tns-ios with `--ignore-scripts` when the `$ tns doctor` verifies CocoaPods. Else the amount of text printed on the console is incomprehensible.
1 parent ce1064e commit 08d424e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/doctor-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class DoctorService implements IDoctorService {
109109
let spinner = new clui.Spinner("Installing iOS runtime.");
110110
try {
111111
spinner.start();
112-
this.$npm.install("tns-ios", projDir).wait();
112+
this.$npm.install("tns-ios", projDir, { "ignore-scripts": true, production: true }).wait();
113113
spinner.stop();
114114
let iosDir = path.join(projDir, "node_modules", "tns-ios", "framework");
115115
this.$fs.writeFile(

0 commit comments

Comments
 (0)