We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcbd28 commit 7933875Copy full SHA for 7933875
1 file changed
lib/appdir.js
@@ -111,9 +111,11 @@ function _getAppExtensions (appdir) {
111
const apexPlist = path.join(apexDir, 'Info.plist');
112
if (fs.existsSync(apexPlist)) {
113
const apexInfo = plist.readFileSync(apexPlist);
114
- const apexBin = path.join(apexDir, apexInfo.CFBundleExecutable);
115
- if (fs.existsSync(apexBin)) {
116
- apexBins.push(apexBin);
+ if (apexInfo.CFBundleExecutable) {
+ const apexBin = path.join(apexDir, apexInfo.CFBundleExecutable);
+ if (fs.existsSync(apexBin)) {
117
+ apexBins.push(apexBin);
118
+ }
119
}
120
121
0 commit comments