mirror of
https://github.com/github/codeql-action.git
synced 2026-10-25 23:27:13 +00:00
13 lines
350 B
JavaScript
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);
|
|
}; |