diff --git a/kit/src/kitcommand.js b/kit/src/kitcommand.js index 4adc431..42c43f8 100644 --- a/kit/src/kitcommand.js +++ b/kit/src/kitcommand.js @@ -116,6 +116,7 @@ async function main(){ $logger.info("远程仓库可用") } await remote.publish(localFile, remotePath) + $logger.info("发布成功") }); parser.addCmdLine("install [module]", "安装/更新模块;", async function (cli) { let remote = await $context.get("remote") diff --git a/kit/src/remote/publish.js b/kit/src/remote/publish.js index 35f3d22..c753002 100644 --- a/kit/src/remote/publish.js +++ b/kit/src/remote/publish.js @@ -103,5 +103,5 @@ module.exports = async function publish(remote, localFile, remotePath) { } - $logger.info("发布成功") + $logger.info("文件上传成功") } \ No newline at end of file