mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 09:59:43 +00:00
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:
15
node_modules/async/internal/onlyOnce.js
generated
vendored
Normal file
15
node_modules/async/internal/onlyOnce.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = onlyOnce;
|
||||
function onlyOnce(fn) {
|
||||
return function (...args) {
|
||||
if (fn === null) throw new Error("Callback was already called.");
|
||||
var callFn = fn;
|
||||
fn = null;
|
||||
callFn.apply(this, args);
|
||||
};
|
||||
}
|
||||
module.exports = exports.default;
|
||||
Reference in New Issue
Block a user