Navigation Menu

Skip to content

Commit

Permalink
Remove critic warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Apr 17, 2017
1 parent 281b704 commit 7c307ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Sys/HostIP.pm
Expand Up @@ -141,6 +141,8 @@ sub _clean_ifconfig_env {
delete $ENV{'BASH_ENV'};

# now we set the local $ENV{'PATH'} to be only the path to ifconfig
# We have localized %ENV in the call to this, so we disable critic warning
## no critic qw(Variables::RequireLocalizedPunctuationVars)
my $ifconfig = $self->ifconfig;
$ENV{'PATH'} = dirname $ifconfig;

Expand Down

0 comments on commit 7c307ed

Please sign in to comment.