Skip to content

Instantly share code, notes, and snippets.

@1stvamp
Last active September 4, 2017 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1stvamp/bd79f78f248b57d0d91821feffd002e6 to your computer and use it in GitHub Desktop.
Save 1stvamp/bd79f78f248b57d0d91821feffd002e6 to your computer and use it in GitHub Desktop.
Script to test subprocess running heroku, outputs blank JSON object for config command
#!/bin/sh
if [ "$1" = "config" ]; then
echo '{}'
fi
>&2 echo "$*"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment