mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
add set -e to bash tests
This commit is contained in:
parent
6995b61f39
commit
cf3ebcbfda
@ -3,7 +3,7 @@
|
||||
alias mocha='../node_modules/mocha/bin/mocha'
|
||||
pm2="`type -P node` `pwd`/bin/pm2"
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
function fail {
|
||||
echo -e "######## \033[31m ✘ $1\033[0m"
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
SRC=$(cd $(dirname "$0"); pwd)
|
||||
source "${SRC}/bash/include.sh"
|
||||
|
||||
set -e
|
||||
|
||||
echo "####################### DEBUG ############################"
|
||||
echo "PM2 Command = " $pm2
|
||||
echo "Node version = " $nodeVersion
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user