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
My CI runner ran bundle exec fastlane run_danger danger_id:pull_request_metadata after I created a pull request
What did you expect to happen?
Running your Dangerfile without it crashing.
What happened instead?
Danger crashed with the following error message:
Danger has errored
[!] Invalid Dangerfile file: undefined method [] for nil:NilClass
final[current_file][:patch] \<\< "\n" + line
^^^^^^^^
# from Dangerfile:55
# -------------------------------------------
# ## Let's check if there are any changes in the project folder
> has_app_changes = git.modified_files
# ## Then, we should check if tests are updated
# -------------------------------------------
Actually this crash happens only when a .xcframework file has been modified.
It looks like the plugin danger_git doesn't succeed to access to the path inside the xcframework and crash instead
Your Environment
Which CI are you running on?
Circle CI
Are you running the latest version of Danger?
Yes, version 9.3.0
What is your Dangerfile?
has_app_changes=git.modified_files
The text was updated successfully, but these errors were encountered:
Report
What did you do?
My CI runner ran
bundle exec fastlane run_danger danger_id:pull_request_metadata
after I created a pull requestWhat did you expect to happen?
Running your Dangerfile without it crashing.
What happened instead?
Danger crashed with the following error message:
Danger has errored
[!] Invalid
Dangerfile
file: undefined method[]
for nil:NilClassGenerated by 🚫 Danger
Actually this crash happens only when a
.xcframework
file has been modified.It looks like the plugin danger_git doesn't succeed to access to the path inside the xcframework and crash instead
Your Environment
Which CI are you running on?
Circle CI
Are you running the latest version of Danger?
Yes, version 9.3.0
What is your Dangerfile?
The text was updated successfully, but these errors were encountered: