mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #40918 from ivgiuliani/ivgiuliani/better-warning-invisible-space
Include file path in invisible space warning
This commit is contained in:
commit
f2bd5197ee
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module ActiveSupport
|
|||
|
||||
File.read(content_path).tap do |content|
|
||||
if content.include?("\u00A0")
|
||||
warn "File contains invisible non-breaking spaces, you may want to remove those"
|
||||
warn "#{content_path} contains invisible non-breaking spaces, you may want to remove those"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue