Pruned node modules

tweaking workflow
This commit is contained in:
Drew Heavner
2019-12-04 10:28:59 -05:00
parent c328f3aa5c
commit fc9e3b4597
7302 changed files with 16 additions and 1659266 deletions

View File

@@ -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;
}