PerlCritic: MoreUtils -> SomeUtils

This commit is contained in:
Graham Christensen 2021-12-14 10:08:30 -05:00
parent a658b80863
commit aa7b37838a
5 changed files with 5 additions and 4 deletions

View file

@ -477,6 +477,7 @@
JSON
JSONMaybeXS
JSONXS
ListSomeUtils
LWP
LWPProtocolHttps
ModulePluggable

View file

@ -3,7 +3,7 @@ package Hydra::Base::Controller::NixChannel;
use strict;
use warnings;
use base 'Hydra::Base::Controller::REST';
use List::MoreUtils qw(any);
use List::SomeUtils qw(any);
use Nix::Store;
use Hydra::Helper::Nix;
use Hydra::Helper::CatalystUtils;

View file

@ -11,7 +11,7 @@ use File::stat;
use Data::Dump qw(dump);
use Nix::Store;
use Nix::Config;
use List::MoreUtils qw(all);
use List::SomeUtils qw(all);
use Encode;
use MIME::Types;
use JSON::PP;

View file

@ -6,7 +6,7 @@ use warnings;
use base 'Hydra::Base::Controller::NixChannel';
use Hydra::Helper::Nix;
use Hydra::Helper::CatalystUtils;
use List::MoreUtils qw(uniq);
use List::SomeUtils qw(uniq);
sub evalChain : Chained('/') PathPart('eval') CaptureArgs(1) {

View file

@ -13,7 +13,7 @@ use Encode;
use File::Basename;
use JSON::MaybeXS;
use List::Util qw[min max];
use List::MoreUtils qw{any};
use List::SomeUtils qw{any};
use Net::Prometheus;
use Types::Standard qw/StrMatch/;