Commits

Diab Jerius  committed 85c64d8

remove remnants of pre- Type::Tiny coercion code

  • Participants
  • Parent commits 0b064d4

Comments (0)

Files changed (1)

File lib/Hg/Lib/Server/Pipe.pm

 
 no if $] >= 5.018, 'warnings', "experimental::smartmatch";
 
-use constant forceArray => sub { 'ARRAY' eq ref $_[0] ? $_[0] : [ $_[0] ] };
-
 with 'MooX::Attributes::Shadow::Role';
 
 shadowable_attrs( qw[ hg args path configs encoding env timeout ] );
 # arguments to hg
 has args => (
     is      => 'ro',
-    coerce  => forceArray,
     isa     => StrList,
     coerce  => StrList->coercion,
     default => sub { [] },