mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove trailing spaces
This commit is contained in:
parent
21f3ffedd4
commit
152cf102b7
3 changed files with 3 additions and 3 deletions
|
@ -191,7 +191,7 @@ updated_files = git.updated_paths
|
|||
files = updated_files.select {|l|
|
||||
/^\d/ !~ l and /\.bat\z/ !~ l and
|
||||
(/\A(?:config|[Mm]akefile|GNUmakefile|README)/ =~ File.basename(l) or
|
||||
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|)\z/ =~ File.extname(l))
|
||||
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|rs)\z/ =~ File.extname(l))
|
||||
}
|
||||
files.select! {|n| File.file?(n) }
|
||||
files.reject! do |f|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue