mirror of
https://github.com/actions/setup-python.git
synced 2025-06-14 08:17:12 +02:00
Initial pass
This commit is contained in:
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;
|
||||
};
|
Reference in New Issue
Block a user