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

Zero exit status on error #3277

Open
alfredodeza opened this issue Feb 17, 2023 · 0 comments · May be fixed by #3601
Open

Zero exit status on error #3277

alfredodeza opened this issue Feb 17, 2023 · 0 comments · May be fixed by #3601

Comments

@alfredodeza
Copy link

Using Azure Function Core Tools version 4.0.4915 and using the flags in the wrong order creates an error condition but the exit status is 0

This situation causes CI/CD systems like GitHub Actions to continue the step(s) and not halt at the error.

To replicate:

$ func azure functionapp publish --custom rust-alfredo-demo
Must specify functionApp name.
$ echo $?
0

In the case above, the --custom flag should've been used at the end

@ghost ghost added the Needs: Triage 🔍 label Feb 17, 2023
@gukoff gukoff linked a pull request Feb 20, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant