mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 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