mirror of
https://github.com/curl/curl.git
synced 2026-08-02 12:10:29 +03:00
codespell: extend checks to more subdirs
- fix issues found. - fix a few more found locally. Closes #15072
This commit is contained in:
parent
6b2824dae1
commit
cfae354a9a
10 changed files with 20 additions and 15 deletions
|
|
@ -630,7 +630,7 @@ sub scanfile {
|
|||
if($nostr =~ /^(.*[^']\?[^'].*)(\w|\)|\]|')\:/i) {
|
||||
my $m = $1;
|
||||
my $e = $nostr;
|
||||
$e =~ s/'(.)':'(.)'/$1:$2/g; # eliminate chars quotes that suround colon
|
||||
$e =~ s/'(.)':'(.)'/$1:$2/g; # eliminate chars quotes that surround colon
|
||||
$e =~ s/':'//g; # ignore these
|
||||
if($e =~ /^(.*[^']\?[^'].*)(\w|\)|\]|')\:/i) {
|
||||
checkwarn("NOSPACEC",
|
||||
|
|
@ -642,7 +642,7 @@ sub scanfile {
|
|||
if($nostr =~ /^(.*[^'"]\?[^'"].*)\:(\w|\)|\]|')/i) {
|
||||
my $m = $1;
|
||||
my $e = $nostr;
|
||||
$e =~ s/'(.)':'(.)'/$1:$2/g; # eliminate chars quotes that suround colon
|
||||
$e =~ s/'(.)':'(.)'/$1:$2/g; # eliminate chars quotes that surround colon
|
||||
$e =~ s/':'//g; # ignore these
|
||||
if($e =~ /^(.*[^'"]\?[^'"].*)\:(\w|\)|\]|')/i) {
|
||||
checkwarn("NOSPACEC",
|
||||
|
|
|
|||
|
|
@ -1256,7 +1256,7 @@ elsif($cmd eq "-c") {
|
|||
|
||||
my @files = @ARGV; # the rest are the files
|
||||
|
||||
# can be overriden for releases
|
||||
# can be overridden for releases
|
||||
if($ENV{'CURL_MAKETGZ_VERSION'}) {
|
||||
$version = $ENV{'CURL_MAKETGZ_VERSION'};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue