Skip to content

Commit

Permalink
updating validate workflow
Browse files Browse the repository at this point in the history
Signed-off-by: sk593 <[email protected]>
  • Loading branch information
sk593 committed Aug 9, 2024
1 parent 8bd1d65 commit d58a558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/validate_bicep.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def validate_file(f):
stderr = ""
exitcode = 0

if exitcode != 0:
if exitcode != 0 or "Error" in stderr:
failures.append(f)
print(stderr, flush=True)

Expand Down

0 comments on commit d58a558

Please sign in to comment.