near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 92 forks source link

Exit with error on error #1090

Closed gagdiez closed 5 months ago

gagdiez commented 5 months ago

Currently near call will exit with code 0 even if an error happened. This PR fixes it so, on error, near call exits with code 1