()
| 1882 | return str.endsWith(end); |
| 1883 | } |
| 1884 | _isCmdFile() { |
| 1885 | const upperToolPath = this.toolPath.toUpperCase(); |
| 1886 | return (this._endsWith(upperToolPath, '.CMD') || |
| 1887 | this._endsWith(upperToolPath, '.BAT')); |
| 1888 | } |
| 1889 | _windowsQuoteCmdArg(arg) { |
| 1890 | // for .exe, apply the normal quoting rules that libuv applies |
| 1891 | if (!this._isCmdFile()) { |
no test coverage detected