@slack/cli-hooks@1.2.0
·
195 commits
to main
since this release
What's Changed
The slack run command now exits with the error code returned from the start hook and Node warnings were returned to verbose outputs:
$ slack run --verbose
...
[DEBUG] web-api:WebClient:0 initialized
...
AppInitializationError: You must provide an appToken when socketMode is set to true. To generate an appToken see: https://api.slack.com/apis/connections/socket#token
...
🚫 The 'start' hook exited with an error (sdk_hook_invocation_failed)
exit status 1 (local_app_run_error)
$ echo $?
1🎉 Enhancements
- feat(cli-hooks): output node warnings to stderr for debugging outputs in #2152 - Thanks @zimeg!
- feat(cli-hooks): exit the start process with the subprocess exit code in #2153 - Thanks @zimeg!
🧰 Maintenance
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.2...@slack/cli-hooks@1.2.0
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/101?closed=1