Skip to content

Commit

Permalink
Merge pull request #1 from zoffixznet/patch-1
Browse files Browse the repository at this point in the history
Avoid use of removed method
  • Loading branch information
skaji committed Apr 11, 2017
2 parents be8615e + 8b1b749 commit afaf2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IO/TailFile.pm6
Expand Up @@ -58,7 +58,7 @@ my class Impl {
method new(|) { die "call watch() method instead" }

method watch(::?CLASS:U: $filename, Bool :$chomp = False) {
my $file = File.new($filename.IO.abspath);
my $file = File.new($filename.IO.absolute);
Impl.new(:$file, :$chomp).Supply;
}

Expand Down

0 comments on commit afaf2a1

Please sign in to comment.