Permalink
Browse files

helpers / gitPullOrClone - use runCmd to catch / log errors

  • Loading branch information...
1 parent 1e1f55e commit 97c8be4e1a7fe68d6938cc44b444586ab58f4fe0 @joolswills joolswills committed Feb 14, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 scriptmodules/helpers.sh
@@ -326,8 +326,8 @@ function gitPullOrClone() {
if [[ -d "$dir/.git" ]]; then
pushd "$dir" > /dev/null
- git pull > /dev/null
- git submodule update --init --recursive
+ runCmd git pull
+ runCmd git submodule update --init --recursive
popd > /dev/null
else
local git="git clone --recursive"

0 comments on commit 97c8be4

Please sign in to comment.