Files
codeql-action/node_modules/glob-hash/lib/collect.js
2020-12-09 21:28:55 +01:00

13 lines
350 B
JavaScript

'use strict'
/**
* Used by commander for collecting multiple arguments
* of the same type from the command line.
*
* @param {String} value The string to add to the array.
* @param {Array} memo The array to add to.
* @return {Array} The resulting array.
*/
module.exports = function(value, memo) {
return memo.concat(value);
};