From 641ed66837dd4bd45c977978609fb38cbeac9319 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:11:20 +0100 Subject: Didn't remove node_modules correctly.. --- node_modules/debug/src/inspector-log.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 node_modules/debug/src/inspector-log.js (limited to 'node_modules/debug/src/inspector-log.js') diff --git a/node_modules/debug/src/inspector-log.js b/node_modules/debug/src/inspector-log.js deleted file mode 100644 index 60ea6c0..0000000 --- a/node_modules/debug/src/inspector-log.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = inspectorLog; - -// black hole -const nullStream = new (require('stream').Writable)(); -nullStream._write = () => {}; - -/** - * Outputs a `console.log()` to the Node.js Inspector console *only*. - */ -function inspectorLog() { - const stdout = console._stdout; - console._stdout = nullStream; - console.log.apply(console, arguments); - console._stdout = stdout; -} -- cgit v1.2.3