#866 - using 'raise' instead of 'puts' for the error

This commit is contained in:
Parker Moore 2012-12-19 22:45:50 -05:00
parent 80fad2180e
commit 51fb2bcc5a

View File

@ -328,7 +328,7 @@ multitask :push do
if system "git push origin #{deploy_branch}"
puts "\n## GitHub Pages deploy complete"
else
puts "\n## Octopress could not push to your repository. Check your internet connection."
raise "\n## Octopress could not push to your repository. Check your internet connection."
end
end
else