initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
17
github/codeql-action-v2/node_modules/ava/lib/worker/options.cjs
generated
vendored
Normal file
17
github/codeql-action-v2/node_modules/ava/lib/worker/options.cjs
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
let options = null;
|
||||
exports.get = () => {
|
||||
if (!options) {
|
||||
throw new Error('Options have not yet been set');
|
||||
}
|
||||
|
||||
return options;
|
||||
};
|
||||
|
||||
exports.set = newOptions => {
|
||||
if (options) {
|
||||
throw new Error('Options have already been set');
|
||||
}
|
||||
|
||||
options = newOptions;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue