From 0fcf5e0e6e7a353f862504da0a321f148ad2de03 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 27 Jun 2018 08:03:54 +0200 Subject: [PATCH] Fix whitespace --- src/test/perl/TestLib.pm | 4 ++-- src/tools/perlcheck/find_perl_files | 3 +-- src/tools/perlcheck/perlcriticrc | 1 - 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 - -- 2.40.0