mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 22:23:47 +00:00
.
This commit is contained in:
parent
8affe1ed56
commit
760046e9f2
7278 changed files with 0 additions and 1778943 deletions
15
node_modules/debug/src/inspector-log.js
generated
vendored
15
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue