mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-12 07:01:12 +00:00
.
This commit is contained in:
parent
8affe1ed56
commit
760046e9f2
7278 changed files with 0 additions and 1778943 deletions
18
node_modules/lodash/_iteratorToArray.js
generated
vendored
18
node_modules/lodash/_iteratorToArray.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
* Converts `iterator` to an array.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} iterator The iterator to convert.
|
||||
* @returns {Array} Returns the converted array.
|
||||
*/
|
||||
function iteratorToArray(iterator) {
|
||||
var data,
|
||||
result = [];
|
||||
|
||||
while (!(data = iterator.next()).done) {
|
||||
result.push(data.value);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = iteratorToArray;
|
Loading…
Add table
Add a link
Reference in a new issue