fix(core): switch compatibility shim to promptAsync
This commit is contained in:
parent
b8221a883e
commit
108e860ddd
11
src/index.ts
11
src/index.ts
@ -387,10 +387,13 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
|||||||
}
|
}
|
||||||
return [];
|
return [];
|
||||||
},
|
},
|
||||||
prompt: async (args) => {
|
prompt: async (args) => {
|
||||||
await ctx.client.session.prompt(args);
|
await ctx.client.session.promptAsync(args);
|
||||||
},
|
},
|
||||||
},
|
promptAsync: async (args) => {
|
||||||
|
await ctx.client.session.promptAsync(args);
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user