Skip to content

Commit 10051b5

Browse files
eng, remove the mitigation after emitter fix (#47456)
1 parent c2a446f commit 10051b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eng/scripts/Compare-CurrentToCodegeneration.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ $generateScript = {
181181
}
182182

183183
# Update code snippets before comparing the diff
184-
# TODO: remove spotless:apply when issue fixed in emitter
185-
$mvnOutput = (& mvn --no-transfer-progress codesnippet:update-codesnippet spotless:apply 2>&1)
184+
$mvnOutput = (& mvn --no-transfer-progress codesnippet:update-codesnippet 2>&1)
186185
if ($LastExitCode -ne 0) {
187186
Write-Host "$separatorBar`nError updating TypeSpec codesnippets in directory $directory`n$([String]::Join("`n", $mvnOutput))`n$separatorBar"
188187
throw

0 commit comments

Comments
 (0)