mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-04 11:41:10 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
node_modules/lodash
18
node_modules/lodash/_setToArray.js
generated
vendored
18
node_modules/lodash/_setToArray.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
* Converts `set` to an array of its values.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} set The set to convert.
|
||||
* @returns {Array} Returns the values.
|
||||
*/
|
||||
function setToArray(set) {
|
||||
var index = -1,
|
||||
result = Array(set.size);
|
||||
|
||||
set.forEach(function(value) {
|
||||
result[++index] = value;
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = setToArray;
|
Loading…
Add table
Add a link
Reference in a new issue