opam lint
: a command line flag to make opam lint
return 1 on warnings
#5651
Labels
Milestone
opam lint
: a command line flag to make opam lint
return 1 on warnings
#5651
opam lint
can report either errors or warnings. Currently, the return code of the command is 1 if there were errors and 0 if there weren't any (including if there were warnings). I would like a command line flag to either make warnings become errors or to make the return code be 1 also on warnings.I “discovered” this behaviour when I realised that my CI running
opam lint
wasn't catching warnings and that I needed a fancier test involving reading the standard output ofopam lint
.The text was updated successfully, but these errors were encountered: