koishijs / koishi

Cross-platform chatbot framework made with love
https://koishi.chat
MIT License
4.53k stars 246 forks source link

Bug: 使用 `yarn pub` 发布包但是失败时仍然显示成功发布 #1310

Open Seidko opened 11 months ago

Seidko commented 11 months ago

Describe the bug

使用 yarn pub 发布包但是失败时仍然显示成功发布,如下图:

Steps to reproduce

开启 npm 2fa 并通过 yarn pub 发布包,但是不填写 otp 或者 token。

Expected behavior

当发布包失败时,提示哪些包发布失败并显示原因。

Screenshots

image image

Versions

System: OS: Windows 10 10.0.19044 CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600K

Binaries: Node: 20.9.0 Yarn: 3.6.3

Koishi: Core: 4.16.1 Console: 5.20.1

Additional context

No response