Replies: 2 comments
-
The problem I've discussed also on StackOverflow with an alternative suggestion by someone to grab (grep) the error. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Pallau a potential work around to this is to capture the output of the task run and fail based on existence of the warning emoji "
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We want to run Orval in a GitLab Pipeline so every time a change was made in an OpenAPI spec Orval should run and build the models, etc. and right away detect any issues with the specs. Thus we have a GitLab Pipeline to do this:
However the Pipeline is always successful despite the fact there are syntax errors:
Do you know how to configure the scripts so it fails when there are errors like above? The thing is that the exit code is 0 and not 1 despite the fact there is an SyntaxError.
Beta Was this translation helpful? Give feedback.
All reactions