Skip to content

Commit cd8ab2e

Browse files
committed
s/shell()/run()/
1 parent 2776164 commit cd8ab2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/contributors.pl6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ sub MAIN (
5050
sub get-last-release-date-for ($rakudo-repo) {
5151
given $rakudo-repo.IO.child('VERSION') {
5252
.e or die "Could not find rakudo's VERSION file at $_";
53-
Date.new: Instant.from-posix: shell(
54-
:out, :cwd($rakudo-repo), "git log --pretty='format:%ct' $_"
53+
Date.new: Instant.from-posix: run(
54+
:out, :cwd($rakudo-repo), <git log --pretty=format:%ct>, $_
5555
).out.lines.head;
5656
}
5757
}
@@ -60,8 +60,8 @@ sub get-committers($repo, $since) {
6060
die "Expected a repo in `$repo` but did not find one"
6161
unless $repo.IO.d && "$repo/.git".IO.d;
6262

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

6767
my ($author,$committer,$id,$msg) = $line.split('|',4);

0 commit comments

Comments
 (0)