initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
26
dawidd6/action-download-artifact-v3/node_modules/bottleneck/lib/parser.js
generated
vendored
Normal file
26
dawidd6/action-download-artifact-v3/node_modules/bottleneck/lib/parser.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
"use strict";
|
||||
|
||||
exports.load = function (received, defaults, onto = {}) {
|
||||
var k, ref, v;
|
||||
|
||||
for (k in defaults) {
|
||||
v = defaults[k];
|
||||
onto[k] = (ref = received[k]) != null ? ref : v;
|
||||
}
|
||||
|
||||
return onto;
|
||||
};
|
||||
|
||||
exports.overwrite = function (received, defaults, onto = {}) {
|
||||
var k, v;
|
||||
|
||||
for (k in received) {
|
||||
v = received[k];
|
||||
|
||||
if (defaults[k] !== void 0) {
|
||||
onto[k] = v;
|
||||
}
|
||||
}
|
||||
|
||||
return onto;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue