Codefresh CLI validate returns 0 even when invalid

Codefresh CLI’s codefresh validate <filename> returns 0 even when the file is not valid. It should return non-zero so I can use it in continuous integration without having to do fancy grep-ing.

Hello. This is indeed confusing behavior.

I have opened an internal issue and our CLI team will handle it.

Many thanks for catching this!

The CLI is open source so I opened an issue on the repo aswell.

Hello @RothAndrew

This should now be fixed in the latest version of the Codefresh CLI (0.36.2)

Could you please confirm?

Looks good. Thanks for the quick turnaround!

1 Like