summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CPAN.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-07-23 17:25:43 +0200
committerGitHub <noreply@github.com>2018-07-23 17:25:43 +0200
commit345e686485e484e087ea58c988e4831209c39554 (patch)
tree6888ff14ec3d34cfe21d64d520421ba94918a25b /Bugzilla/CPAN.pm
parente8c0dfe232ce1efe78f8dd7cf6b78c24b96786e8 (diff)
downloadbugzilla-345e686485e484e087ea58c988e4831209c39554.tar.gz
bugzilla-345e686485e484e087ea58c988e4831209c39554.tar.xz
Bug 1476841 - Various code cleanups ahead of the Mojolicious patch
Diffstat (limited to 'Bugzilla/CPAN.pm')
-rw-r--r--Bugzilla/CPAN.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CPAN.pm b/Bugzilla/CPAN.pm
index d765d2901..1b6fb93b9 100644
--- a/Bugzilla/CPAN.pm
+++ b/Bugzilla/CPAN.pm
@@ -103,7 +103,7 @@ sub feature {
my $meta = $class->cpan_meta;
my $feature = $meta->feature($feature_name);
my @modules = $feature->prereqs->merged_requirements(['runtime'], ['requires'])->required_modules;
- Module::Runtime::require_module($_) foreach @modules;
+ Module::Runtime::require_module($_) foreach grep { !/^Test::Taint$/ } @modules;
return $FEATURE_LOADED{$feature_name} = 1;
}