Skip to content

Commit 2f89da0

Browse files
committed
Fix C source code files' type
The correct file type string is `sourcecode.c.c` and not `sourcecode.c`
1 parent 90db4d6 commit 2f89da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbxFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var $path = require('path'),
33
HEADER_FILE_TYPE_SUFFIX = ".h",
44
SOURCE_CODE_FILE_TYPE_PREFIX = "sourcecode.",
55
M_EXTENSION = /[.]m$/, SOURCE_FILE = 'sourcecode.c.objc',
6-
C_EXTENSION = /[.]c$/, C_SOURCE_FILE = 'sourcecode.c',
6+
C_EXTENSION = /[.]c$/, C_SOURCE_FILE = 'sourcecode.c.c',
77
H_EXTENSION = /[.]h$/, HEADER_FILE = 'sourcecode.c.h',
88
MM_EXTENSION = /[.]mm$/, MM_SOURCE_FILE = 'sourcecode.cpp.objcpp',
99
HPP_EXTENSION = /[.](hpp|hxx|h\+\+|hh)$/, CPP_HEADER_FILE = 'sourcecode.cpp.h',

0 commit comments

Comments
 (0)