mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
bug(observableHandling.ts): fix https://github.com/sern-handler/handler/issues/86
This commit is contained in:
@@ -100,7 +100,7 @@ export function executeModule(
|
||||
},
|
||||
) {
|
||||
if (payload.res.every(el => el.ok)) {
|
||||
return from(payload.execute() as Promise<unknown>).pipe(
|
||||
return from(Promise.resolve(payload.execute())).pipe(
|
||||
tap(() => {
|
||||
wrapper.sernEmitter?.emit('module.activate', {
|
||||
type: PayloadType.Success,
|
||||
|
||||
Reference in New Issue
Block a user