Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belo committed Feb 23, 2010
1 parent 0801fa6 commit 22c6cce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions init.rb
Expand Up @@ -11,9 +11,8 @@ def initialize(*args)
def push
display "THIS WILL REPLACE ALL DATA ON #{heroku_mongo_uri.host} WITH #{local_mongo_uri.host}"
display "Are you sure? (y/n) ", false
if ask.downcase == 'y'
transfer(local_mongo_uri, heroku_mongo_uri)
end
return unless ask.downcase == 'y'
transfer(local_mongo_uri, heroku_mongo_uri)
end

def pull
Expand Down

0 comments on commit 22c6cce

Please sign in to comment.