From 29fa8b995e41642ddc8717f248bb7d53e5a80379 Mon Sep 17 00:00:00 2001 From: Alessandro Fazzi Date: Tue, 30 May 2017 09:44:22 +0200 Subject: [PATCH] fix: local_delete does not handle simulation correctly --- lib/wordmove/deployer/base.rb | 2 +- lib/wordmove/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wordmove/deployer/base.rb b/lib/wordmove/deployer/base.rb index 24ce7e6..d41b5a6 100644 --- a/lib/wordmove/deployer/base.rb +++ b/lib/wordmove/deployer/base.rb @@ -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) diff --git a/lib/wordmove/version.rb b/lib/wordmove/version.rb index d7ab64a..772002f 100644 --- a/lib/wordmove/version.rb +++ b/lib/wordmove/version.rb @@ -1,3 +1,3 @@ module Wordmove - VERSION = "2.1.1".freeze + VERSION = "2.1.2".freeze end