fix: "onNext" is called instead of "next" on an Observable. (#219)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
5c50f147ec
commit
00ce364692
@ -83,7 +83,7 @@ const buildProxyConsole = proxyLogger => ctx => {
|
|||||||
const oldLog = ctx.window.console.log.bind(ctx.window.console);
|
const oldLog = ctx.window.console.log.bind(ctx.window.console);
|
||||||
ctx.window.__console = {};
|
ctx.window.__console = {};
|
||||||
ctx.window.__console.log = function proxyConsole(...args) {
|
ctx.window.__console.log = function proxyConsole(...args) {
|
||||||
proxyLogger.onNext(args);
|
proxyLogger.next(args);
|
||||||
return oldLog(...args);
|
return oldLog(...args);
|
||||||
};
|
};
|
||||||
return ctx;
|
return ctx;
|
||||||
|
Reference in New Issue
Block a user