You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/alunny/node-xcode/blob/master/lib/pbxProject.js#L1146. On this line we only check if value is $(inherited) and convert it to an array otherwise. I've seen projects that have other, non $(inherited) single value there, which causes the script to break with .push is undefined since the value will be a string.
I think we could just replace that check with !Array.isArray() which should make it more future proof.
The text was updated successfully, but these errors were encountered:
https://github.com/alunny/node-xcode/blob/master/lib/pbxProject.js#L1146. On this line we only check if value is
$(inherited)
and convert it to an array otherwise. I've seen projects that have other, non$(inherited)
single value there, which causes the script to break with.push is undefined
since the value will be a string.I think we could just replace that check with
!Array.isArray()
which should make it more future proof.The text was updated successfully, but these errors were encountered: