Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
14 lines
249 B
Plaintext
14 lines
249 B
Plaintext
'use strict';
|
|
|
|
function inspectStream(stream) {
|
|
var streamType = stream.constructor.name;
|
|
// Avoid StreamStream
|
|
if (streamType === 'Stream') {
|
|
streamType = '';
|
|
}
|
|
|
|
return '<' + streamType + 'Stream>';
|
|
}
|
|
|
|
module.exports = inspectStream;
|