fix: file路由readFile改promise版 + 终端客户端自动聚焦(实机pwd已验证服务端通)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Context } from '@deepseek-ai/cordis'
|
||||
import { execFile } from 'node:child_process'
|
||||
import { readdirSync, readFile, realpathSync } from 'node:fs'
|
||||
import { readdir } from 'node:fs/promises'
|
||||
import { readdirSync, realpathSync } from 'node:fs'
|
||||
import { readdir, readFile } from 'node:fs/promises'
|
||||
import { dirname, resolve as pathResolve, sep } from 'node:path'
|
||||
import { createRequire } from 'node:module'
|
||||
import { homedir } from 'node:os'
|
||||
|
||||
Reference in New Issue
Block a user