mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-24 06:44:44 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
20
node_modules/istanbul-lib-source-maps/lib/transform-utils.js
generated
vendored
20
node_modules/istanbul-lib-source-maps/lib/transform-utils.js
generated
vendored
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
Copyright 2015, Yahoo Inc.
|
||||
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
function getUniqueKey(pathname) {
|
||||
return pathname.replace(/[\\/]/g, '_');
|
||||
}
|
||||
|
||||
function getOutput(cache) {
|
||||
return Object.keys(cache).reduce((output, key) => {
|
||||
const item = cache[key];
|
||||
return Object.assign(output, {
|
||||
[item.file]: item.mappedCoverage
|
||||
});
|
||||
}, {});
|
||||
}
|
||||
|
||||
module.exports = { getUniqueKey, getOutput };
|
Loading…
Add table
Add a link
Reference in a new issue