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

Fix for static analysis #3777

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Fix for static analysis #3777

merged 1 commit into from
Nov 25, 2024

Conversation

bbirman
Copy link
Member

@bbirman bbirman commented Nov 24, 2024

I got this error on a run and I think it's just a small typo (haven't tried testing on a fork):

[!] Invalid `StaticAnalysis.rb` file: undefined local variable or method `issue' for an instance of Danger::Dangerfile
 #  from StaticAnalysis.rb:29
 #  -------------------------------------------
 #          issues = report['diagnostics']
 >          print "File modified in PR: #{file}, has #{issue.count} issues.\n"
 #          for i in 0..issues.count-1
 #  -------------------------------------------

@bbirman bbirman merged commit 514a191 into forcedotcom:dev Nov 25, 2024
13 checks passed
@bbirman bbirman deleted the static-analysis branch November 25, 2024 20:23
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.

2 participants