mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 21:20:07 +02:00
remove node_modules
This commit is contained in:
15
app/node_modules/debug/src/inspector-log.js
generated
vendored
15
app/node_modules/debug/src/inspector-log.js
generated
vendored
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user