(thisArg, _arguments, P, generator)
| 20493 | } |
| 20494 | _debug(message) { |
| 20495 | if (this.options.listeners && this.options.listeners.debug) { |
| 20496 | this.options.listeners.debug(message); |
| 20497 | } |
| 20498 | } |
| 20499 | _getCommandString(options, noPrefix) { |
| 20500 | const toolPath = this._getSpawnFileName(); |
| 20501 | const args = this._getSpawnArgs(options); |
| 20502 | let cmd = noPrefix ? "" : "[command]"; |
| 20503 | if (IS_WINDOWS2) { |
| 20504 | if (this._isCmdFile()) { |
| 20505 | cmd += toolPath; |
| 20506 | for (const a of args) { |
| 20507 | cmd += ` ${a}`; |
| 20508 | } |
| 20509 | } else if (options.windowsVerbatimArguments) { |
| 20510 | cmd += `"${toolPath}"`; |
| 20511 | for (const a of args) { |
| 20512 | cmd += ` ${a}`; |
| 20513 | } |
| 20514 | } else { |
| 20515 | cmd += this._windowsQuoteCmdArg(toolPath); |
| 20516 | for (const a of args) { |
| 20517 | cmd += ` ${this._windowsQuoteCmdArg(a)}`; |
| 20518 | } |
| 20519 | } |
| 20520 | } else { |
| 20521 | cmd += toolPath; |
| 20522 | for (const a of args) { |
| 20523 | cmd += ` ${a}`; |
| 20524 | } |
no test coverage detected