We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752160 commit b69fba2Copy full SHA for b69fba2
packages/cli-repl/src/repl-paste-support.ts
@@ -77,8 +77,8 @@ export function addReplEventForEvalReady(
77
repl: REPLServer,
78
key: keyof REPLServer
79
) => {
80
+ if (!repl[key]) return;
81
const originalMethod = repl[key].bind(repl);
- if (!originalMethod) return;
82
(repl as any)[key] = (...args: any[]) => {
83
if (!before()) {
84
return;
0 commit comments