lib/shelly/cli/main.rb in shelly-0.3.5 vs lib/shelly/cli/main.rb in shelly-0.3.6
- old
+ new
@@ -577,10 +577,10 @@
remote = ask('Specify remote name:')
if app.git_remote_exist?(remote)
say("Remote '#{remote}' already exists")
else
say "Adding remote #{remote} #{app.git_url}", :green
- return remote
+ break remote
end
end
end
app.add_git_remote(remote)