mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-22 05:54:45 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
18
node_modules/lodash/_initCloneObject.js
generated
vendored
18
node_modules/lodash/_initCloneObject.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
var baseCreate = require('./_baseCreate'),
|
||||
getPrototype = require('./_getPrototype'),
|
||||
isPrototype = require('./_isPrototype');
|
||||
|
||||
/**
|
||||
* Initializes an object clone.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to clone.
|
||||
* @returns {Object} Returns the initialized clone.
|
||||
*/
|
||||
function initCloneObject(object) {
|
||||
return (typeof object.constructor == 'function' && !isPrototype(object))
|
||||
? baseCreate(getPrototype(object))
|
||||
: {};
|
||||
}
|
||||
|
||||
module.exports = initCloneObject;
|
Loading…
Add table
Add a link
Reference in a new issue