Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
committable: no need to chdir here
It would be great to get rid of all “chdir”-s, but unfortunately it is not
always possible. However, this one is not the case.
  • Loading branch information
AlexDaniel committed Jul 15, 2016
1 parent 32cdbc8 commit 5671d64
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions committable.pl
Expand Up @@ -80,10 +80,7 @@ sub process_message {
next;
}

my $old_dir = cwd();
chdir $self->RAKUDO;
my ($out, $exit, $time) = $self->get_output($self->BUILDS . "/$full_commit/bin/perl6", $filename);
chdir $old_dir;

$out //= '';
$out .= " exit code = $exit" if ($exit != 0);
Expand Down

0 comments on commit 5671d64

Please sign in to comment.