mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-25 23:16:06 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
19
node_modules/istanbul-reports/index.js
generated
vendored
19
node_modules/istanbul-reports/index.js
generated
vendored
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
Copyright 2012-2015, Yahoo Inc.
|
||||
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
||||
*/
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
create(name, cfg) {
|
||||
cfg = cfg || {};
|
||||
let Cons;
|
||||
try {
|
||||
Cons = require(path.join(__dirname, 'lib', name));
|
||||
} catch (e) {
|
||||
Cons = require(name);
|
||||
}
|
||||
|
||||
return new Cons(cfg);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue