Fix indentation mistakes in nodejs-packaging-bundler
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
aac86e3646
commit
fdd68fbe2d
1 changed files with 3 additions and 3 deletions
|
|
@ -70,10 +70,10 @@ for packagejson in $(find . -type d -name node_modules\* -prune -o -type f -name
|
|||
npm install --omit=dev --omit=optional
|
||||
if [ $? -ge 1 ] ; then
|
||||
echo " ERROR WILL ROBINSON"
|
||||
rm -rf node_modules
|
||||
rm -rf node_modules
|
||||
else
|
||||
echo " Successful prod dependencies download"
|
||||
mv node_modules/ node_modules_prod
|
||||
mv node_modules/ node_modules_prod
|
||||
fi
|
||||
popd
|
||||
done
|
||||
|
|
@ -102,7 +102,7 @@ for packagejson in $(find . -type d -name node_modules\* -prune -o -type f -name
|
|||
echo " ERROR WILL ROBINSON"
|
||||
else
|
||||
echo " Successful dev dependencies download"
|
||||
mv node_modules/ node_modules_dev
|
||||
mv node_modules/ node_modules_dev
|
||||
fi
|
||||
popd
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue