We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19879f9 commit 94245e5Copy full SHA for 94245e5
lib/pbxProject.js
@@ -633,7 +633,7 @@ pbxProject.prototype.hasFile = function (filePath) {
633
function propReplace(obj, prop, value) {
634
for (var p in obj) {
635
if (obj.hasOwnProperty(p)) {
636
- if (typeof obj[p] == 'object') {
+ if (typeof obj[p] == 'object' && !Array.isArray(obj[p])) {
637
propReplace(obj[p], prop, value);
638
} else if (p == prop) {
639
obj[p] = value;
0 commit comments