embark/test/cli_shim/demos/invoked_bad_json.sh
Michael Bradley, Jr 96d7f08d70
[WIP] cli shim demo
2018-10-22 19:39:26 +02:00

21 lines
277 B
Bash

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 ~