()
| 269 | } |
| 270 | |
| 271 | private _getArgs() { |
| 272 | if (this._argsFn === undefined) { |
| 273 | return undefined; |
| 274 | } |
| 275 | const args = this._argsFn(); |
| 276 | if (!Array.isArray(args)) { |
| 277 | throw new Error('The args function must return an array'); |
| 278 | } |
| 279 | return args; |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * Determines if the task should run when it's triggered because of a |
no outgoing calls
no test coverage detected