Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid deprecation warning in tools/contributors.pl6
  • Loading branch information
moritz committed Jul 24, 2015
1 parent 42113a0 commit 814ea11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/contributors.pl6
Expand Up @@ -23,9 +23,9 @@ say
sub get-committers($repo, $since) {
return Empty unless $repo.IO.d && "$repo/.git".IO.d;

gather for pipe(
gather for shell(:out,
"cd $repo; git log --since=$since --pretty='format:%an|%cn|%H|%s'"
).lines.grep(?*) -> $line { # grep needed because of (Str) on empty pipe
).out.lines.grep(?*) -> $line { # grep needed because of (Str) on empty pipe

my ($author,$committer,$id,$msg) = $line.split('|',4);
take $id => nick-to-name($author);
Expand Down

0 comments on commit 814ea11

Please sign in to comment.