Skip to content
Permalink
Browse files

Make error in loading dependency less LTA

  • Loading branch information...
lizmat committed May 29, 2019
1 parent 29966a1 commit aeba161c1f06fc533ff74d767dc22f31f4516f9c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/CompUnit/PrecompilationUnit.pm6
@@ -59,7 +59,7 @@ role CompUnit::PrecompilationUnit {
my $srcIO = CompUnit::RepositoryRegistry.file-for-spec($dependency.src) // $dependency.src.IO;
return False unless $srcIO and $srcIO.e;

my $current-source-checksum := nqp::sha1($srcIO.slurp(:enc<iso-8859-1>));
my $current-source-checksum := nqp::sha1($srcIO.slurp(:enc<iso-8859-1>).Str);
$RMD(
"$.path\nspec: $dependency.spec()\nsource: $srcIO\n"
~ "source-checksum: $source-checksum\ncurrent-source-checksum: $current-source-checksum"

0 comments on commit aeba161

Please sign in to comment.
You can’t perform that action at this time.