Commit e05c74d4 authored by Chris Snijder's avatar Chris Snijder 🏅
Browse files

Don't be so verbose.

parent 9dbb8b80
......@@ -67,9 +67,9 @@ class RecursiveNav < ::Middleman::Extension
def _meta_file(path)
meta_file = File.join path, "_meta.y{ml,aml}"
if (files = Dir.glob(meta_file)).length > 0
puts "== File(s) \"#{files.join(", ")}\" exist(s)."
# puts "== File(s) \"#{files.join(", ")}\" exist(s)."
else
puts "== File \"#{meta_file}\" does not exist."
# puts "== File \"#{meta_file}\" does not exist."
return nil
end
files.each do |f|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment