Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to check for object existence #112

Merged
merged 1 commit into from Jun 12, 2020
Merged

Conversation

DamienBitrise
Copy link
Contributor

When this code runs and a folder called "Resources" is not in the XCode project this call fails.

Need to check for object existence before accessing path.

There should be no impact from this change only preventing a run time error when a folder is not present

When this code runs and a folder called "Resources" is not in the XCode project this call fails.

Need to check for object existence before accessing path.

There should be no impact from this change only preventing a run time error when a folder is not present
@codecov-commenter
Copy link

codecov-commenter commented Jun 9, 2020

Codecov Report

Merging #112 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #112   +/-   ##
=======================================
  Coverage   89.97%   89.97%           
=======================================
  Files           6        6           
  Lines        2374     2374           
=======================================
  Hits         2136     2136           
  Misses        238      238           
Impacted Files Coverage Δ
lib/pbxProject.js 96.08% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56b8ffd...7d22f8d. Read the comment docs.

Copy link
Member

@timbru31 timbru31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I'd like a second review though

Copy link
Member

@NiklasMerz NiklasMerz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM null checks are always a good idea 😉

@timbru31 timbru31 merged commit e81ecab into apache:master Jun 12, 2020
DamienBitrise added a commit to DamienBitrise/bitrise-test-plan-sharder that referenced this pull request Jun 12, 2020
Use cordova-node-xcode while waiting for the next release with this bug fix in it

apache/cordova-node-xcode#112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants