embark/test/cli_shim/demos/invoked_bad_json.sh

21 lines
277 B
Bash
Raw Normal View History

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