mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
24
backend/apis/nodejs/node_modules/istanbul-reports/index.js
generated
vendored
Normal file
24
backend/apis/nodejs/node_modules/istanbul-reports/index.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
'use strict';
|
||||
/*
|
||||
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) {
|
||||
if (e.code !== 'MODULE_NOT_FOUND') {
|
||||
throw e;
|
||||
}
|
||||
|
||||
Cons = require(name);
|
||||
}
|
||||
|
||||
return new Cons(cfg);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user