From 7d5a0696ccc642db0d14aae8677ecada40bf85d1 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 2 Aug 2018 16:50:59 -0700 Subject: inital commit --- 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