From 6f390226d06fc713c96df7c40c6a9cc441ee932c Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Wed, 29 Aug 2012 16:13:37 +0100 Subject: Raise an error on a non-zero return code from the git pull command. --- lib/tasks/themes.rake | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tasks') diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake index f86490500..3fb9eef19 100644 --- a/lib/tasks/themes.rake +++ b/lib/tasks/themes.rake @@ -35,6 +35,7 @@ namespace :themes do rm_rf %w(.git .gitignore) else rm_rf install_path + raise "#{base_cmd} failed! Stopping." end end end -- cgit v1.2.3