Skip to content

Commit

Permalink
Sink task results
Browse files Browse the repository at this point in the history
Otherwise Procs can fail silently. See issue #12.
  • Loading branch information
AlexDaniel committed Jun 22, 2018
1 parent 58c632f commit 87c7acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sake.pm6
Expand Up @@ -18,7 +18,7 @@ class Sake-Task {

sub execute($task) is export {
if %TASKS{$task}:exists {
%TASKS{$task}.execute;
sink %TASKS{$task}.execute;
} else {
# TODO something more awesome here
$*ERR.say("No task named $task...skipping");
Expand Down

0 comments on commit 87c7acd

Please sign in to comment.