Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 当有其他的export导出时,无法通过class导出 #190

Closed
lava081 opened this issue Nov 17, 2024 · 2 comments
Closed

Bug: 当有其他的export导出时,无法通过class导出 #190

lava081 opened this issue Nov 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lava081
Copy link
Contributor

lava081 commented Nov 17, 2024

警告: 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

  • 确保您使用的是最新版本的Karin
  • 确保您的问题尚未在 Issues 列表中提出.
  • 确保您的问题不是由于您的代码错误导致的.

描述问题

在example目录中的js如果使用class导出,并且有其他的export供其他js调用,会造成该js的class不被加载

复现步骤

详细描述如何复现该问题:

1.在example目录中创建js
2.export class CommandRunner extends plugin {
...
}
export async function Cmd () {
...
}

预期行为

按PluginRule中的条件响应正则

实际行为

只加载js,不响应正则

环境信息

  • 操作系统:Ubuntu 24.04 LTS
  • Node.js 版本:20.18.0
  • 项目版本:0.12.20

附加信息

任何额外的上下文或截图。

@lava081 lava081 added the bug Something isn't working label Nov 17, 2024
Copy link
Contributor

👋 你好!感谢你提交了第一个问题!🔍 你的细心帮助我们发现了新的改进机会,我们会尽快处理。🚀 如果你有更多的想法或疑问,请继续分享,我们非常乐意听取你的声音!🌟 感谢你的支持!

@sj817
Copy link
Contributor

sj817 commented Nov 17, 2024

已知问题 等待新版本发版修复

@sj817 sj817 closed this as completed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants