Skip to content

Commit aa68559

Browse files
authored
[TypeSpec CI] Enable --warn-as-error (#24340)
- Fixes #24341
1 parent e977b53 commit aa68559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/pipelines/templates/steps/typespec-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
exit_code=0
1313
1414
pushd ${{parameters.Folder}}
15-
npx tsp compile . || exit_code=1
15+
npx tsp compile . --warn-as-error || exit_code=1
1616
# Format parent folder to include shared files (disabled until formatting diffs are fixed)
1717
# npx tsp format ../**/*.tsp
1818
popd

0 commit comments

Comments
 (0)