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

cirrus serverless deploy does not fail if serverless binary is not present #134

Closed
marchuffnagle opened this issue Apr 25, 2022 · 0 comments · Fixed by #150
Closed

cirrus serverless deploy does not fail if serverless binary is not present #134

marchuffnagle opened this issue Apr 25, 2022 · 0 comments · Fixed by #150
Assignees
Labels
bug Something isn't working small
Milestone

Comments

@marchuffnagle
Copy link
Contributor

The cirrus CLI detects if the serverless binary is missing. If it is, it displays a message saying that it's missing, but then exits cleanly (returning a status code of 0). If shell scripts are checking for the return value of this command, they are going to assume that the deployment succeeded and continue on. It should exit with some non-zero status code in this case.

logger.error('No serverless binary; have you run `npm install`?')

@jkeifer jkeifer added the bug Something isn't working label May 25, 2022
@jkeifer jkeifer self-assigned this May 25, 2022
@jkeifer jkeifer added this to the 0.7.0 milestone May 25, 2022
@jkeifer jkeifer added the small label May 25, 2022
@jkeifer jkeifer mentioned this issue Aug 24, 2022
@jkeifer jkeifer linked a pull request Sep 8, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants