From 4f27eefd6ec24a2644e674850f5a2b5d4928b168 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 25 Jul 2024 12:10:39 +0530 Subject: added .gitignore --- backend/node_modules/debug/src/inspector-log.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 backend/node_modules/debug/src/inspector-log.js (limited to 'backend/node_modules/debug/src/inspector-log.js') diff --git a/backend/node_modules/debug/src/inspector-log.js b/backend/node_modules/debug/src/inspector-log.js deleted file mode 100644 index 60ea6c0..0000000 --- a/backend/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-59-g8ed1b