From c2119665fdea48dfb130deb9a8b2c0c56f8c6ddd Mon Sep 17 00:00:00 2001 From: Cheney Date: Thu, 13 Mar 2025 16:02:37 +0800 Subject: [PATCH] =?UTF-8?q?remote=20=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kit/src/kitcommand.js | 1 + kit/src/remote/publish.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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