Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Validation of slack config when --slack is provided #90

Open
rafael-adcp opened this issue Sep 16, 2019 · 0 comments
Open

Validation of slack config when --slack is provided #90

rafael-adcp opened this issue Sep 16, 2019 · 0 comments

Comments

@rafael-adcp
Copy link

repro step
remove slack from your ankh config and try to execute ankh apply --slack, it will throw an error saying that authentication failed

expected:
apply validation if --slack is provided so that
if (sendSlackMessage && (!config.slack || !config.slack.token || !config.slack.format .... )) throw error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant