summaryrefslogtreecommitdiff
path: root/perl/Git/LoadCPAN/Error.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/LoadCPAN/Error.pm')
-rw-r--r--perl/Git/LoadCPAN/Error.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/LoadCPAN/Error.pm b/perl/Git/LoadCPAN/Error.pm
index c6d2c45..5d84c20 100644
--- a/perl/Git/LoadCPAN/Error.pm
+++ b/perl/Git/LoadCPAN/Error.pm
@@ -1,7 +1,7 @@
package Git::LoadCPAN::Error;
use 5.008;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
use Git::LoadCPAN (
module => 'Error',
import => 1,