embark-area-51/test/cli_shim/demos/invoked_missing_json.sh

21 lines
262 B
Bash
Raw Normal View History

2018-08-08 00:46:50 +00:00
say "$(cat << 'MSG'
If invoked embark's package.json is missing then report error and exit
MSG
)"
cd ~/working/embark
rm package.json
cd ~/embark_demo
nac lts
bash -i << 'DEMO'
embark version
DEMO
nac default
cd ~/working/embark
git stash &> /dev/null
cd ~