Skip to content

Commit 3dadcc7

Browse files
authored
prevent eol issue (#22259)
1 parent 9fdd460 commit 3dadcc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ try{
7474
Remediation = "Make sure that the ReadMe file of Sdk is loaded."
7575
}
7676
}
77+
# Prevent EOL changes detected
78+
git config --global core.autocrlf false
7779
# See if the code is completely the same as we generated
7880
$changes = git status ".\Generated" --porcelain
7981
if ($changes -ne $null){

0 commit comments

Comments
 (0)