lib/braid/commands/remove.rb in braid-0.7.1 vs lib/braid/commands/remove.rb in braid-1.0.0

- old
+ new

@@ -2,12 +2,10 @@ module Commands class Remove < Command def run(path, options = {}) mirror = config.get!(path) - bail_on_local_changes! - with_reset_on_error do msg "Removing mirror from '#{mirror.path}'." git.rm_r(mirror.path) @@ -22,10 +20,10 @@ else msg "Remote '#{mirror.remote}' not found, nothing to cleanup" if verbose? end git.commit("Remove mirror '#{mirror.path}'") - msg "Removed mirror." if verbose? + msg 'Removed mirror.' if verbose? end end end end end