From d586566d54e7c987b126823e8f26cf07ceb5d247 Mon Sep 17 00:00:00 2001 From: Yiyu He Date: Mon, 29 Jun 2020 14:00:43 +0800 Subject: [PATCH] feat: keep npminstall_done label stable (#329) --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 3e053f61..ff071636 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -46,7 +46,7 @@ const INSTALL_DONE_KEY = '__npminstall_done'; // 设置 pkg 安装完成的标记 exports.setInstallDone = async pkgRoot => { await exports.addMetaToJSONFile(path.join(pkgRoot, 'package.json'), { - [INSTALL_DONE_KEY]: Date(), + [INSTALL_DONE_KEY]: true, }); };