Skip to content

Commit 96e1d71

Browse files
committed
pbxFileReferenceComment(): Re-add file.basename support for backwards compatibility
1 parent a59dfc2 commit 96e1d71

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
@@ -1097,7 +1097,7 @@ function pbxBuildFileComment(file) {
10971097
}
10981098

10991099
function pbxFileReferenceComment(file) {
1100-
return path.basename(file.path);
1100+
return file.basename || path.basename(file.path);
11011101
}
11021102

11031103
function pbxNativeTargetComment(target) {

0 commit comments

Comments
 (0)