Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistExternalLinter.php
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | final protected function getExecutableCommand() { | ||||
$interpreter = null; | $interpreter = null; | ||||
if ($this->shouldUseInterpreter()) { | if ($this->shouldUseInterpreter()) { | ||||
$interpreter = $this->getInterpreter(); | $interpreter = $this->getInterpreter(); | ||||
} | } | ||||
$binary = $this->getBinary(); | $binary = $this->getBinary(); | ||||
if ($interpreter) { | if ($interpreter) { | ||||
$bin = csprintf('%s %s', $interpreter, $binary); | $bin = csprintf('%C %s', $interpreter, $binary); | ||||
} else { | } else { | ||||
$bin = csprintf('%s', $binary); | $bin = csprintf('%C', $binary); | ||||
} | } | ||||
return $bin; | return $bin; | ||||
} | } | ||||
/** | /** | ||||
* Get the composed flags for the executable, including both mandatory and | * Get the composed flags for the executable, including both mandatory and | ||||
* configured flags. | * configured flags. | ||||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |