Skip to content

Commit a8ac0fe

Browse files
author
Mihail Slavchev
committed
replace util.format with string concat
1 parent bffb555 commit a8ac0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/ios-project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class IOSProjectService implements IPlatformProjectService {
201201
this.$errors.failWithoutHelp("The bundle at %s does not contain an Info.plist file.", libraryPath);
202202
}
203203

204-
var packageType = this.$childProcess.exec(util.format("/usr/libexec/PlistBuddy -c \"Print :CFBundlePackageType\" %s", infoPlistPath)).wait().trim();
204+
var packageType = this.$childProcess.exec('/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" ' + infoPlistPath).wait().trim();
205205
if (packageType !== "FMWK") {
206206
this.$errors.failWithoutHelp("The bundle at %s does not appear to be a dynamic framework.", libraryPath);
207207
}

0 commit comments

Comments
 (0)