Skip to content

Commit

Permalink
feat: keep npminstall_done label stable (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse authored Jun 29, 2020
1 parent 5f1ad5e commit d586566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
};

Expand Down

0 comments on commit d586566

Please sign in to comment.