mirror of
https://github.com/Azure/setup-helm.git
synced 2025-09-10 05:56:31 +00:00
Add node modules and new code for release (#57)
Co-authored-by: taakleton <taakleton@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
da63a48ad7
commit
a517f2ff65
12
node_modules/@istanbuljs/load-nyc-config/load-esm.js
generated
vendored
Normal file
12
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