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

21 lines
262 B
Bash

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 ~