diff --git a/lib/middleman-deploy/commands.rb b/lib/middleman-deploy/commands.rb index f5b1db9..85e4e1f 100644 --- a/lib/middleman-deploy/commands.rb +++ b/lib/middleman-deploy/commands.rb @@ -33,7 +33,7 @@ module Middleman # These only exists when the config.rb sets them! if (!host || !user || !path) - raise Thor::Error.new "You need to activate the deploy extension in config.rb " + raise Thor::Error.new "You need to activate the deploy extension in config.rb" end command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}" @@ -45,7 +45,7 @@ module Middleman end if clean - command += "--delete" + command += " --delete" end run command