diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-04-20 03:07:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-04-20 11:34:52 +0900 |
commit | 9f9755664ddc4447dd498ec75613d996238169c0 (patch) | |
tree | 756d917792f02614dc6ded18c86513cdfc481fa8 /tool/lib | |
parent | 9555a997aca422214c0e4d5a0fcf56210959a6f5 (diff) |
Fix method name
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/_tmpdir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/_tmpdir.rb b/tool/lib/_tmpdir.rb index c74db70786..eac83e2a8a 100644 --- a/tool/lib/_tmpdir.rb +++ b/tool/lib/_tmpdir.rb @@ -27,7 +27,7 @@ END { ] } filecolor = ->(st) { - st.directory? ? "bold;blue" : st.link? ? "bold;cyan" : st.executable? ? "bold;green" : nil + st.directory? ? "bold;blue" : st.symlink? ? "bold;cyan" : st.executable? ? "bold;green" : nil } warn colorize.notice("Children under ")+colorize.fail(tmpdir)+":" Dir.children(tmpdir).each do |child| |