mirror of
https://github.com/actions/setup-go.git
synced 2025-07-18 12:55:16 -06:00
Fix.
This commit is contained in:
parent
ffce9ce43f
commit
a966e84ff9
6749 changed files with 937822 additions and 460 deletions
17
node_modules/es-abstract/helpers/assign.js
generated
vendored
Normal file
17
node_modules/es-abstract/helpers/assign.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
var bind = require('function-bind');
|
||||
var has = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
||||
|
||||
var $assign = Object.assign;
|
||||
|
||||
module.exports = function assign(target, source) {
|
||||
if ($assign) {
|
||||
return $assign(target, source);
|
||||
}
|
||||
|
||||
for (var key in source) {
|
||||
if (has(source, key)) {
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
return target;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue