Skip to content

Commit f1b6a8c

Browse files
committed
feat: add support for header search path deletion by string
1 parent a56960f commit f1b6a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbxProject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ pbxProject.prototype.removeFromHeaderSearchPaths = function (file) {
933933
INHERITED = '"$(inherited)"',
934934
SEARCH_PATHS = 'HEADER_SEARCH_PATHS',
935935
config, buildSettings, searchPaths;
936-
var new_path = searchPathForFile(file, this);
936+
var new_path = typeof file === 'string' ? file : searchPathForFile(file, this);
937937

938938
for (config in configurations) {
939939
buildSettings = configurations[config].buildSettings;

0 commit comments

Comments
 (0)