From b87eb586098d39aacb20f9de8dd15500695c9531 Mon Sep 17 00:00:00 2001 From: Matheus Castro Date: Tue, 6 Dec 2022 21:12:34 -0300 Subject: [PATCH] Remove Fibers for Meteor Tools: - Correctly create hash from new file.data. --- tools/isobuild/compiler-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/isobuild/compiler-plugin.js b/tools/isobuild/compiler-plugin.js index d7b25a1b66..729e4e881b 100644 --- a/tools/isobuild/compiler-plugin.js +++ b/tools/isobuild/compiler-plugin.js @@ -1329,7 +1329,7 @@ export class PackageSourceBatch { meteorPackageInstalls.join(""), "utf8" ); - const fileHash = sha1(fileData); + const fileHash = sha1(bufferData); // The getter's from file (file.data and file.hash) are async, unfortunately. // That's why we need the Object.assign here.