mirror of
https://github.com/curl/curl.git
synced 2026-04-15 06:21:40 +03:00
scripts: fix perl indentation, whitespace, semicolons
Ref: #17116 Closes #17209
This commit is contained in:
parent
fd4c342d88
commit
3fcddc835c
14 changed files with 1418 additions and 1422 deletions
10
.github/scripts/spacecheck.pl
vendored
10
.github/scripts/spacecheck.pl
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue