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:
12
backend/apis/nodejs/node_modules/@istanbuljs/load-nyc-config/load-esm.js
generated
vendored
Normal file
12
backend/apis/nodejs/node_modules/@istanbuljs/load-nyc-config/load-esm.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const {pathToFileURL} = require('url');
|
||||
|
||||
module.exports = async filename => {
|
||||
const mod = await import(pathToFileURL(filename));
|
||||
if ('default' in mod === false) {
|
||||
throw new Error(`${filename} has no default export`);
|
||||
}
|
||||
|
||||
return mod.default;
|
||||
};
|
Reference in New Issue
Block a user