We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
puts "#{nil}" is converted to puts('nil')
puts "#{nil}"
puts('nil')
puts "#{nil}" outputs empty string puts('nil') outputs nil
nil
not changing #{nil} to nil
it changed the output of the function and out test failed, we have #{nil} in a long string with many other elements to compare
#{nil}
1.35.0
The text was updated successfully, but these errors were encountered:
Lint/LiteralInInterpolation
[Fix rubocop#10944] Fix an incorrect autocorrect for `Lint/LiteralInI…
b69ca43
…nterpolation` Fixes rubocop#10944. This PR fixes an incorrect autocorrect for `Lint/LiteralInInterpolation` when using `"#{nil}"`.
Merge pull request #10945 from koic/fix_an_incorrect_autocorrect_for_…
e99bc6c
…lint_literal_in_interpolation [Fix #10944] Fix an incorrect autocorrect for `Lint/LiteralInInterpolation`
Successfully merging a pull request may close this issue.
puts "#{nil}"
is converted toputs('nil')
puts "#{nil}"
outputs empty stringputs('nil')
outputsnil
Expected behavior
not changing #{nil} to nil
Actual behavior
it changed the output of the function and out test failed, we have
#{nil}
in a long string with many other elements to compareRuboCop version
1.35.0
The text was updated successfully, but these errors were encountered: