Skip to content

Commit b93a8be

Browse files
committed
Remove init_arg for model to debug why a hashref rather than object was being used as the model
1 parent b2d6d46 commit b93a8be

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/MetaCPAN/Role/Script.pm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,11 @@ has es => (
7878
);
7979

8080
has model => (
81-
is => 'ro',
82-
lazy => 1,
83-
builder => '_build_model',
84-
traits => ['NoGetopt'],
81+
is => 'ro',
82+
init_arg => undef,
83+
lazy => 1,
84+
builder => '_build_model',
85+
traits => ['NoGetopt'],
8586
);
8687

8788
has index => (

0 commit comments

Comments
 (0)