./bin/cli/exceptions in lux-fw-0.1.35 vs ./bin/cli/exceptions in lux-fw-0.2.1
- old
+ new
@@ -17,10 +17,10 @@
else
end
show = ARGV[0] ? ARGV[0].to_i : nil
-error_folders = Dir['%s/*' % ERROR_FOLDER].sort_by { |x| File.mtime(x) }
+error_folders = Dir['%s/*' % ERROR_FOLDER].sort_by { |x| File.mtime(x) }.reverse
if error_folders.length == 0
puts 'Nothing found in %s'.light_blue % ERROR_FOLDER
exit
end