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.
2 parents 808cae2 + 53a6f7f commit 7fd3a3dCopy full SHA for 7fd3a3d
lib/pbxProject.js
@@ -678,8 +678,9 @@ pbxProject.prototype.hasFile = function (filePath) {
678
679
// helper recursive prop search+replace
680
function propReplace(obj, prop, value) {
681
+ var o = {};
682
for (var p in obj) {
- if (obj.hasOwnProperty(p)) {
683
+ if (o.hasOwnProperty.call(obj, p)) {
684
if (typeof obj[p] == 'object') {
685
propReplace(obj[p], prop, value);
686
} else if (p == prop) {
0 commit comments