Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for RT #128840
This is probably due to some unixism where "-" was considered to be
STDIN.  Removing this test doesn't cause any spectest breakage.
  • Loading branch information
lizmat committed Aug 4, 2016
1 parent 1488b39 commit 02fdcf9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/IO/Path.pm
Expand Up @@ -48,9 +48,7 @@ my class IO::Path is Cool {
}

method abspath() {
$!abspath //= $!path.starts-with('-')
?? ''
!! $!SPEC.rel2abs($!path,$!CWD);
$!abspath //= $!SPEC.rel2abs($!path,$!CWD);
}
method is-absolute() {
$!is-absolute //= $!SPEC.is-absolute($!path);
Expand Down

0 comments on commit 02fdcf9

Please sign in to comment.