Remove trailing spaces

This commit is contained in:
Nobuyoshi Nakada 2025-06-24 18:30:54 +09:00
parent 21f3ffedd4
commit 152cf102b7
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
3 changed files with 3 additions and 3 deletions

View file

@ -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|