Skip to content

Commit 64d206b

Browse files
committed
Show only HTML if no problems found for 'pbcopy'
1 parent ebf132e commit 64d206b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

get_dojo_list.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@
5555
result << "\n</ul>\n"
5656
puts result
5757

58-
59-
6058
# 検索して見つからなかった Dojo 一覧があれば出力
61-
puts '--- NOTE ---'
62-
puts "道場数: #{dojo_list.count}"
63-
puts "Yay! All given dojo names are successfully hit in DB! 🎉" if not_found.empty?
64-
not_found.each {|dojo_name| puts "Not found: #{dojo_name}" }
59+
if not_found.any?
60+
puts '--- NOTE ---'
61+
puts "道場数: #{dojo_list.count}"
62+
not_found.each {|dojo_name| puts "Not found: #{dojo_name}" }
63+
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy