Commit 1dbb1afa authored by Michał Siwek's avatar Michał Siwek

Skip directory name when listing packages

parent 37a9c9d7
......@@ -34,7 +34,7 @@ end
def list_packages
Find.find (CREW_LIB_PATH + 'packages') do |filename|
puts File.basename filename, '.rb'
puts File.basename filename, '.rb' if File.extname(filename) == '.rb'
end
end
......
Markdown is supported
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