summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2018-06-27 06:03:54 +0000
committerPeter Eisentraut2018-06-27 06:03:54 +0000
commit0fcf5e0e6e7a353f862504da0a321f148ad2de03 (patch)
tree5a11647dd8bca921b9ef05fec7032cfac7339932
parentae5ed75ed4a951c58ec6a76362241b6ac32be61c (diff)
Fix whitespace
-rw-r--r--src/test/perl/TestLib.pm4
-rw-r--r--src/tools/perlcheck/find_perl_files3
-rw-r--r--src/tools/perlcheck/perlcriticrc1
3 files changed, 3 insertions, 5 deletions
diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm
index 77499c01e9..fda6760226 100644
--- a/src/test/perl/TestLib.pm
+++ b/src/test/perl/TestLib.pm
@@ -245,7 +245,7 @@ sub append_to_file
or die "could not write \"$filename\": $!";
print $fh $str;
close $fh;
- return;
+ return;
}
# Check that all file/dir modes in a directory match the expected values,
@@ -521,7 +521,7 @@ sub command_checks_all
{
like($stderr, $re, "$test_name stderr /$re/");
}
-
+
return;
}
diff --git a/src/tools/perlcheck/find_perl_files b/src/tools/perlcheck/find_perl_files
index d7da9fe859..fd99dab83b 100644
--- a/src/tools/perlcheck/find_perl_files
+++ b/src/tools/perlcheck/find_perl_files
@@ -1,4 +1,3 @@
-
# src/tools/perlcheck/find_perl_files
# shell function to find all perl files in the source tree
@@ -11,5 +10,5 @@ find_perl_files () {
find . -type f -perm -100 -exec file {} \; -print |
egrep -i ':.*perl[0-9]*\>' |
cut -d: -f1
- } | sort -u | grep -v '^\./\.git/'
+ } | sort -u | grep -v '^\./\.git/'
}
diff --git a/src/tools/perlcheck/perlcriticrc b/src/tools/perlcheck/perlcriticrc
index 4878b69bb4..12c09a453e 100644
--- a/src/tools/perlcheck/perlcriticrc
+++ b/src/tools/perlcheck/perlcriticrc
@@ -16,4 +16,3 @@ theme = core
# for now raise severity of this to level 5
[Subroutines::RequireFinalReturn]
severity = 5
-