summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command/Braindump.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Hiveminder/Command/Braindump.pm')
-rw-r--r--lib/App/Hiveminder/Command/Braindump.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hiveminder/Command/Braindump.pm b/lib/App/Hiveminder/Command/Braindump.pm
index 92786f3..0f4ac7b 100644
--- a/lib/App/Hiveminder/Command/Braindump.pm
+++ b/lib/App/Hiveminder/Command/Braindump.pm
@@ -13,11 +13,11 @@ App::Hiveminder::Command::Braindump - Create several tasks at once
sub command_names { qw/braindump bd/ }
sub command {
- my ($self, $args) = @_;
+ my $self = shift;
my $text = get_text_from_editor;
return display_tasks($self->hm->braindump($text, returns => 'tasks',
- tokens => [@$args]))
+ tokens => [@_]))
unless $text eq '';
return '';
}