Clarifai / clarifai-javascript

Official Clarifai JavaScript client for browsers and node.js
https://docs.clarifai.com
Other
350 stars 81 forks source link

[TP-674] Fail fast when `stage` is invalid. #53

Closed moldovan-clarifai closed 4 years ago

moldovan-clarifai commented 4 years ago

Running

CLARIFAI_DEPLOY=local-k8s-marcelmoldovan
gulp jslint

BEFORE:

[12:22:47] Using gulpfile ~/work/clarifai-javascript/gulpfile.js
[12:22:47] Starting 'jslint'...
[12:22:47] 'jslint' errored after 1.45 ms
[12:22:47] TypeError: Cannot read property 'lintFailOnError' of undefined

AFTER:

[12:23:36] Using gulpfile ~/work/clarifai-javascript/gulpfile.js
[12:23:36] Starting 'jslint'...
[12:23:36] 'jslint' errored after 1.43 ms
[12:23:36] Error: There are no defined build variables for stage `local-k8s-marcelmoldovan`