diff --git a/lib/locomotive/wagon/commands/push_command.rb b/lib/locomotive/wagon/commands/push_command.rb index 927b84d6..e734c308 100644 --- a/lib/locomotive/wagon/commands/push_command.rb +++ b/lib/locomotive/wagon/commands/push_command.rb @@ -40,7 +40,7 @@ def push # Ask for a confirmation (Warning) if we deploy with the -d option # since it alters content on the remote engine - if options[:data] + if options[:data] && self.env != 'development' return unless ask_for_performing("Warning! You're about to deploy data which will alter the content of your site.") end