Skip to content

Need to check for object existence - #112

Merged
timbru31 merged 1 commit into
apache:masterfrom
DamienBitrise:patch-1
Jun 12, 2020
Merged

timbru31 merged 1 commit into
apache:masterfrom
DamienBitrise:patch-1

Conversation

@DamienBitrise

Copy link
Copy Markdown
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

codecov-commenter commented Jun 9, 2020 •

Copy link
Copy Markdown

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.

@timbru31 timbru31 left a comment

Copy link
Copy Markdown
Member

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

@NiklasMerz NiklasMerz left a comment

Copy link
Copy Markdown
Member

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.

5 participants