acp: fix type error
This commit is contained in:
parent
6fe8e3973c
commit
4caa458232
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export const AcpCommand = cmd({
|
|||
const input = new WritableStream<Uint8Array>({
|
||||
write(chunk) {
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
process.stdout.write(Buffer.from(chunk), (err) => {
|
||||
process.stdout.write(chunk, (err) => {
|
||||
if (err) {
|
||||
reject(err)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue