Skip to content

Commit a26f87b

Browse files
committed
Merge pull request #1409 from NativeScript/fatme/fix-doctor-command
Fix `undefined is not a function` error.
2 parents 8d93603 + ea3d92f commit a26f87b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/doctor-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class DoctorService implements IDoctorService {
117117
"pod 'AFNetworking', '~> 1.0'\n"
118118
).wait();
119119

120-
spinner.update("Verifying CocoaPods. This may take some time, please be patient.");
120+
spinner.message("Verifying CocoaPods. This may take some time, please be patient.");
121121
spinner.start();
122122
let future = this.$childProcess.spawnFromEvent(
123123
this.$config.USE_POD_SANDBOX ? "sandbox-pod": "pod",
@@ -131,6 +131,7 @@ class DoctorService implements IDoctorService {
131131

132132
return !(this.$fs.exists(path.join(iosDir, "__PROJECT_NAME__.xcworkspace")).wait());
133133
} catch(err) {
134+
this.$logger.trace(`verifyCocoaPods error: ${err}`);
134135
return true;
135136
} finally {
136137
spinner.stop();

0 commit comments

Comments
 (0)