Skip to content

Commit e054e70

Browse files
r0qsmatheusaaguiar
andcommitted
Update downloader.ts
Co-authored-by: matheusaaguiar <[email protected]>
1 parent 8b4c2e5 commit e054e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

downloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function downloadBinary (host: string, outputName: string, releaseFile: string,
4646
file.close();
4747
const hash = '0x' + keccak256(fs.readFileSync(outputName, { encoding: 'binary' }));
4848
if (expectedHash !== hash) {
49-
reject(new Error('Hash mismatch: ' + expectedHash + ' vs ' + hash));
49+
reject(new Error('Hash mismatch: expected ' + expectedHash + ' but got ' + hash));
5050
} else {
5151
console.log('Done.');
5252
resolve();

0 commit comments

Comments
 (0)