mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
19
node_modules/istanbul-reports/index.js
generated
vendored
Normal file
19
node_modules/istanbul-reports/index.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
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