Command line works perfectly! Any way to prevent deployment on error?

#1 · open · 2 comments

View on GitHub ↗

n8sabes

Hey @joostfarla -- Fantastic step forward on solving the ES6 `use strict` optimizer problem. Command line test works perfectly! Related to Serverless optimizer and deployment issue, [ES2015 Deployed Code Crashes -- Optimizer not observing strict mode](https://github.com/serverless/serverless-optimizer-plugin/issues/19), is there any way to have this plugin cause `serverless dash deploy` to fail deployment if a syntax error is found?

Comments

joostfarla

It's on the roadmap! I want to implement some hooks which will auto-perform the linting before deployment.

n8sabes

:thumbsup: