fix(core): switch compatibility shim to promptAsync
This commit is contained in:
parent
b8221a883e
commit
108e860ddd
@ -388,7 +388,10 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
||||
return [];
|
||||
},
|
||||
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