Skip to content

Commit f1c23da

Browse files
authored
[ENG] Ignore comments updates for generated sdk change (Azure#27511)
1 parent 1024531 commit f1c23da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ try {
197197
git config --global core.safecrlf false
198198
git config --global core.autocrlf true
199199
# Use a single regex to ignore comments in .cs and .psd1 files
200-
$diff = git diff ".\Generated" --ignore-matching-lines="^\s*(//|/\*.*\*/|#)"
200+
$diff = git diff --ignore-matching-lines="^\s*(//|/\*.*\*/|#)" ".\Generated"
201201

202202
if($diff -ne $null){
203203
$changes = $changes.replace(" ", "`n")

0 commit comments

Comments
 (0)