Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to configure extension to fail if token replacement is suspect #177

Open
wpschaub opened this issue Nov 24, 2021 · 5 comments
Open

Comments

@wpschaub
Copy link

Would be especially useful if we can configure the Replace Tokens task to succeed with warnings or fail if a token cannot be found or replaced, so that a deployment can be failed if the required configuration is missing or suspect.

@colindembovsky
Copy link
Owner

@wpschaub Default behavior is "succeed with warnings". However, if you set warningsAsErrors to true, the task will fail if a token does not exist. Is this sufficient?

@wpschaub
Copy link
Author

@colindembovsky that would be perfect, thank you!

@wpschaub
Copy link
Author

@colindembovsky let me know when it is time to do some regression testing.

@colindembovsky
Copy link
Owner

@wpschaub what I meant was this behavior exists already - is there something else you need?

@wpschaub
Copy link
Author

Sorry @colindembovsky, my bad. Have you documented this feature anywhere? I can find the variable in your code, but not in the documentation.

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

No branches or pull requests

2 participants