diff options
author | dakkar <dakkar@thenautilus.net> | 2019-04-29 15:42:32 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2019-04-29 15:42:32 +0100 |
commit | db2394b8c0beba5f4323dffe2d20adad1c5acf2b (patch) | |
tree | 9631d5179189c5a254edcd526c812a841b4c7acc /lib/Sietima/CmdLine.pm | |
parent | v1.0.4 (diff) | |
download | Sietima-db2394b8c0beba5f4323dffe2d20adad1c5acf2b.tar.gz Sietima-db2394b8c0beba5f4323dffe2d20adad1c5acf2b.tar.bz2 Sietima-db2394b8c0beba5f4323dffe2d20adad1c5acf2b.zip |
actually fix the cmd line problem
Diffstat (limited to 'lib/Sietima/CmdLine.pm')
-rw-r--r-- | lib/Sietima/CmdLine.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Sietima/CmdLine.pm b/lib/Sietima/CmdLine.pm index b636533..180d3dd 100644 --- a/lib/Sietima/CmdLine.pm +++ b/lib/Sietima/CmdLine.pm @@ -114,6 +114,10 @@ sub _build_app_spec($self) { return App::Spec->read({ $spec_data->%*, $self->extra_spec->%*, + + # App::Spec 0.005 really wants a class name, even when we pass + # a pre-build cmd object to the Runner + class => ref($self->sietima), }); } @@ -141,8 +145,6 @@ sub _build_runner($self) { return Sietima::Runner->new({ spec => $self->app_spec, cmd => $self->sietima, - # App::Spec 0.005 really wants a class name - class => ref($self->sietima), }); } |