diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-08-29 16:13:37 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-08-29 16:13:37 +0100 |
commit | 6f390226d06fc713c96df7c40c6a9cc441ee932c (patch) | |
tree | ab56828479040ffffd831bbe3352629c78ab8b2e /lib | |
parent | 0d2d562253a94d17153686821ae818e9b12fbe26 (diff) |
Raise an error on a non-zero return code from the git pull command.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/themes.rake | 1 |
1 files changed, 1 insertions, 0 deletions
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 |