Skip to content

Commit 7471b58

Browse files
committed
fixup: nullish call
1 parent b9f66c6 commit 7471b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-repl/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async function main() {
176176

177177
process.on('exit', () => {
178178
// https://github.com/libuv/libuv/pull/4688
179-
process.stdin.setRawMode(false);
179+
process.stdin?.setRawMode?.(false);
180180
});
181181

182182
// If we are spawned via Windows doubleclick, ask the user for an URI to

0 commit comments

Comments
 (0)