MCPcopy Create free account
hub / github.com/angular/dev-infra / _isCmdFile

Method _isCmdFile

github-actions/saucelabs/set-saucelabs-env.js:20163–20166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20161 return str.endsWith(end);
20162 }
20163 _isCmdFile() {
20164 const upperToolPath = this.toolPath.toUpperCase();
20165 return this._endsWith(upperToolPath, ".CMD") || this._endsWith(upperToolPath, ".BAT");
20166 }
20167 _windowsQuoteCmdArg(arg) {
20168 if (!this._isCmdFile()) {
20169 return this._uvQuoteCmdArg(arg);

Callers 5

_getCommandStringMethod · 0.45
_getSpawnFileNameMethod · 0.45
_getSpawnArgsMethod · 0.45
_windowsQuoteCmdArgMethod · 0.45
_getSpawnOptionsMethod · 0.45

Calls 1

_endsWithMethod · 0.45

Tested by

no test coverage detected