Skip to content

Commit 8f7639f

Browse files
committed
fix: only set PBXGroup path when defined
1 parent 19adee4 commit 8f7639f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbxProject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ pbxProject.prototype.addPbxGroup = function (filePathsArray, name, path, sourceT
578578
filePathToReference = {};
579579

580580
//path is mandatory only for the main group
581-
if(!opt.filesRelativeToProject) {
581+
if(!opt.filesRelativeToProject && path) {
582582
pbxGroup.path = path;
583583
}
584584

0 commit comments

Comments
 (0)