We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a292296 commit e63b74aCopy full SHA for e63b74a
1 file changed
packages/ionic/src/lib/open.ts
@@ -10,7 +10,7 @@ export async function open(target: string, options: OpenOptions = {}): Promise<v
10
const o = await import ('open');
11
const p = await o(target, { ...options, wait: false });
12
const e = (err: Error) => debug('Error during open: %O', err);
13
- const n = p.on;
+ const n = p.on.bind(p);
14
15
n('error', err => e(err));
16
}
0 commit comments