scripts: fix perl indentation, whitespace, semicolons

Ref: #17116

Closes #17209
This commit is contained in:
Viktor Szakats 2025-04-28 14:57:16 +02:00
parent fd4c342d88
commit 3fcddc835c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
14 changed files with 1418 additions and 1422 deletions

View file

@ -65,19 +65,19 @@ sub eol_detect {
my $lf = () = $content =~ /\n/g;
if($cr > 0 && $lf == 0) {
return "cr"
return "cr";
}
elsif($cr == 0 && $lf > 0) {
return "lf"
return "lf";
}
elsif($cr == 0 && $lf == 0) {
return "bin"
return "bin";
}
elsif($cr == $lf) {
return "crlf"
return "crlf";
}
return ""
return "";
}
my $issues = 0;