No useless sprintf (#10878)
There must be no sprintf calls with only the first argument.pull/10893/head
parent
4714fd5a7b
commit
279b518518
|
@ -89,7 +89,7 @@ class HgDriver extends VcsDriver
|
|||
public function getRootIdentifier(): string
|
||||
{
|
||||
if (null === $this->rootIdentifier) {
|
||||
$this->process->execute(sprintf('hg tip --template "{node}"'), $output, $this->repoDir);
|
||||
$this->process->execute('hg tip --template "{node}"', $output, $this->repoDir);
|
||||
$output = $this->process->splitLines($output);
|
||||
$this->rootIdentifier = $output[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue