From 7ce5e93833ff24d32e62018af021f216b4b6a853 Mon Sep 17 00:00:00 2001 From: tdzl2003 Date: Wed, 6 Apr 2016 00:14:36 +0800 Subject: [PATCH] bugfix: --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 00c1107..b191b0b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -64,7 +64,7 @@ export async function downloadUpdate(options) { await HotUpdate.downloadPatchFromPpk({ updateUrl: options.diffUrl, hashName: options.hash, - originHash: currentVersion, + originHashName: currentVersion, }); } else if (options.pdiffUrl) { await HotUpdate.downloadPatchFromPackage({