Skip to content

Commit

Permalink
fix: local_delete does not handle simulation correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-fazzi committed May 30, 2017
1 parent 3612988 commit 29fa8b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/wordmove/deployer/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def uncompress_command(path)

def local_delete(path)
logger.task_step true, "delete: '#{path}'"
File.delete(path)
File.delete(path) unless simulate?
end

def save_local_db(local_dump_path)
Expand Down
2 changes: 1 addition & 1 deletion lib/wordmove/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Wordmove
VERSION = "2.1.1".freeze
VERSION = "2.1.2".freeze
end

0 comments on commit 29fa8b9

Please sign in to comment.