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
Remove check for "puts" when parsing Dangerfile #1363
Comments
I'm open to an env var hiding the output |
Allows this warning message to be disabled by setting the ENV var `DANGER_DISABLE_PUTS_WARNING`. This can be useful if a variable is triggering this accidentally or you just want to use `puts` for debug output. Fixes danger#1363
Potential fix here: master...lukeredpath:patch-1 However, perhaps a better solution would be for the DSL to provide some kind of |
For debugging purpose, you can use IMO if you really want to use |
BTW I agree with you that the current implementation is a bit naive and it may cause false-positive. My rough idea is:
|
This check is pretty annoying and naive - it will fail if I have a variable called
inputs
for example.Also, I want to use
puts
in my Dangerfile to print out information to help debug and test my Dangerfile scripts in both local testing and CI output.danger/lib/danger/danger_core/dangerfile.rb
Line 197 in 89923b3
The text was updated successfully, but these errors were encountered: