Skip to content

Commit

Permalink
Quick fix to default OUTPUT in lib-gm (informalsystems#1399)
Browse files Browse the repository at this point in the history
* default OUTPUT

* add changelog
  • Loading branch information
JonathanLorimer authored Sep 30, 2021
1 parent 8f6bf20 commit 27f74a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/gm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## UNRELEASED

- Increased default Hermes config constants `rpc_timeout` and `max_gas`
- Fixed undefaulted `$OUPUT` in `lib-gm`

## v0.0.9

Expand Down
2 changes: 1 addition & 1 deletion scripts/gm/bin/lib-gm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fi

version() {
VERSION="v0.0.9"
if [ "$OUTPUT" == "json" ]; then
if [ "${OUTPUT:-}" == "json" ]; then
printf '{"status": "success", "message": "%s"}' "$VERSION"
else
echo "$VERSION"
Expand Down

0 comments on commit 27f74a5

Please sign in to comment.