Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
parent
cf5b0a9041
commit
a196a714b8
5388 changed files with 2176737 additions and 71701 deletions
24
node_modules/unzip-stream/lib/entry.js
generated
vendored
Normal file
24
node_modules/unzip-stream/lib/entry.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
|
||||
var stream = require('stream');
|
||||
var inherits = require('util').inherits;
|
||||
|
||||
function Entry() {
|
||||
if (!(this instanceof Entry)) {
|
||||
return new Entry();
|
||||
}
|
||||
|
||||
stream.PassThrough.call(this);
|
||||
|
||||
this.path = null;
|
||||
this.type = null;
|
||||
this.isDirectory = false;
|
||||
}
|
||||
|
||||
inherits(Entry, stream.PassThrough);
|
||||
|
||||
Entry.prototype.autodrain = function () {
|
||||
return this.pipe(new stream.Transform({ transform: function (d, e, cb) { cb(); } }));
|
||||
}
|
||||
|
||||
module.exports = Entry;
|
||||
Loading…
Add table
Add a link
Reference in a new issue