mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-09 21:02:19 +02:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 changed files with 1886006 additions and 0 deletions
18
node_modules/lodash/_iteratorToArray.js
generated
vendored
Normal file
18
node_modules/lodash/_iteratorToArray.js
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* 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