Skip to content

Conversation

@geekya215
Copy link
Contributor

#45 这个 PR 更改了 index.js 的导出方式,但是 cmd.js 仍然按照以下方式导入 client,导致命令行执行的时候会抛 not a constructor 异常

const { client } = require('../src/index');

@flxxyz flxxyz merged commit 2516196 into flxxyz:master Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants