Skip to content

Commit 9ec5dce

Browse files
authored
Fix TypeSpec-Compare script (Azure#45180)
1 parent 305627b commit 9ec5dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/TypeSpec-Compare-CurrentToCodegeneration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ if ($ServiceDirectories) {
110110
if ($result) {
111111
$hasError = $true
112112
}
113+
Reset-Repository
113114
}
114115
} else {
115116
Write-Host "The service directory list was empty for this PR, no TypeSpec files to regenerate"
116117
}
117-
Reset-Repository
118118
if ($hasError) {
119119
exit 1
120120
}

0 commit comments

Comments
 (0)