mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 08:15:53 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { clearAccount, DEFAULT_BASE_URL, loadAccount, saveAccount } from './accounts.js'
|
||||
import {
|
||||
clearAccount,
|
||||
DEFAULT_BASE_URL,
|
||||
loadAccount,
|
||||
saveAccount,
|
||||
} from './accounts.js'
|
||||
import { startLogin, waitForLogin } from './login.js'
|
||||
import { confirmPairing } from './pairing.js'
|
||||
import { runWeixinMcpServer } from './server.js'
|
||||
@@ -102,7 +107,9 @@ export async function handleWeixinCli(
|
||||
switch (subcommand) {
|
||||
case 'serve':
|
||||
if (!serverDeps) {
|
||||
process.stderr.write('[weixin] serve handler not available in this context.\n')
|
||||
process.stderr.write(
|
||||
'[weixin] serve handler not available in this context.\n',
|
||||
)
|
||||
process.exit(1)
|
||||
}
|
||||
await runWeixinMcpServer(version ?? '0.0.0', serverDeps)
|
||||
|
||||
Reference in New Issue
Block a user