From 639df6df00ea8baa7d0a49fbfa9e51eec90ba035 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 27 Nov 2018 17:13:28 +0000 Subject: [PATCH] Bug 21892: Ignore Sheat when checking spelling 1) without this patch applied to your qa-test-tools run the test plans for the first two patches -- both should fail, with just 1 applied, and both applied to your kohaclone. 2) apply this patch to your qa-test-tools 3) rerun the test plans for the first two patches -- just 1 applied should now pass, but both applied should still fail. --- QohA/File.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QohA/File.pm b/QohA/File.pm index ca7a491..863bb92 100644 --- a/QohA/File.pm +++ b/QohA/File.pm @@ -99,7 +99,7 @@ sub check_forbidden_patterns { sub check_spelling { my ($self) = @_; - my $cmd = q{codespell -d } . $self->path; + my $cmd = q{codespell -L Sheat -d } . $self->path; my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = run( command => $cmd, verbose => 0 ); return 0 unless @$full_buf; -- 2.11.0