Skip to content

Commit

Permalink
[TypeSpec CI] Enable --warn-as-error (Azure#24340)
Browse files Browse the repository at this point in the history
- Fixes Azure#24341
  • Loading branch information
mikeharder authored and harryli0108 committed Jul 28, 2023
1 parent 4f685b9 commit 512157b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/typespec-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
exit_code=0
pushd ${{parameters.Folder}}
npx tsp compile . || exit_code=1
npx tsp compile . --warn-as-error || exit_code=1
# Format parent folder to include shared files (disabled until formatting diffs are fixed)
# npx tsp format ../**/*.tsp
popd
Expand Down

0 comments on commit 512157b

Please sign in to comment.