Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.get-commits should return to the CWD it came from
  • Loading branch information
MasterDuke17 committed Oct 16, 2016
1 parent 379fa80 commit fcc0eb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Whateverable.pm6
Expand Up @@ -138,6 +138,8 @@ method run-snippet($full-commit-hash, $file, :$timeout = $!timeout) {
}

method get-commits($config) {
my $old-dir = $*CWD;
LEAVE chdir $old-dir;
my @commits;

if $config.contains(,) {
Expand Down

0 comments on commit fcc0eb0

Please sign in to comment.