Skip to content

Commit 4294d60

Browse files
committed
Remove basename check for mainGroup
1 parent 3489006 commit 4294d60

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/pbxProject.js

-6
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,6 @@ pbxProject.prototype.addPbxGroup = function (filePathsArray, name, path, sourceT
360360
if (mainGroup) {
361361
var file = new pbxFile(pbxGroup.path);
362362
file.fileRef = pbxGroupUuid;
363-
// Following check is just for readability. 'file.basename' will be the comment for the child group in the main/meta PBXGroup.
364-
//'basename' is set by pbxFile to path's basename. Because we search for 'src' folder in plugins for source code, without this check
365-
// all root groups will have the same 'src' comment in the .pbxproject.x
366-
if (file.basename !== name) {
367-
file.basename = name;
368-
}
369363
mainGroup.children.push(pbxGroupChild(file));
370364
}
371365

0 commit comments

Comments
 (0)