chore(scripts): exit if error occurs in any command
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
name=$([[ $1 ]] && echo $1 || echo "vue")
|
||||
mount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user