diff --git a/tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1 b/tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1 index 501dd72d7f80..919cbe726e10 100644 --- a/tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1 +++ b/tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1 @@ -196,7 +196,7 @@ try { # Prevent EOL changes detected git config --global core.safecrlf false git config --global core.autocrlf true - $diff = git diff + $diff = git diff ".\Generated" if($diff -ne $null){ $changes = $changes.replace(" ", "`n") $ExceptionList += [GeneratedSdkIssue]@{