Commit bf3c0aaf authored by Marin Jankovski's avatar Marin Jankovski

USe reject.

parent d9c4625c
...@@ -158,7 +158,7 @@ module Backup ...@@ -158,7 +158,7 @@ module Backup
end end
def folders_to_backup def folders_to_backup
%w{repositories db}.map{ |name| name unless skipped?(name) }.compact %w{repositories db}.reject{ |name| skipped?(name) }
end end
def settings def settings
......
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