Skip to content

Commit 5b1ad25

Browse files
committed
pbxFileReferenceComment(): Use node paths' function for resolving file base names
1 parent a19508c commit 5b1ad25

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
@@ -1095,7 +1095,7 @@ function pbxBuildFileComment(file) {
10951095
}
10961096

10971097
function pbxFileReferenceComment(file) {
1098-
return file.basename;
1098+
return path.basename(file.path);
10991099
}
11001100

11011101
function pbxNativeTargetComment(target) {

0 commit comments

Comments
 (0)