We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9a3ee5 commit 53a6f7fCopy full SHA for 53a6f7f
lib/pbxProject.js
@@ -633,8 +633,9 @@ pbxProject.prototype.hasFile = function (filePath) {
633
634
// helper recursive prop search+replace
635
function propReplace(obj, prop, value) {
636
+ var o = {};
637
for (var p in obj) {
- if (obj.hasOwnProperty(p)) {
638
+ if (o.hasOwnProperty.call(obj, p)) {
639
if (typeof obj[p] == 'object') {
640
propReplace(obj[p], prop, value);
641
} else if (p == prop) {
0 commit comments