mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
Fix lint warning
This commit is contained in:
parent
cae7631dff
commit
014521362f
1 changed files with 2 additions and 2 deletions
|
@ -415,11 +415,11 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
|
|||
}
|
||||
|
||||
public function supportsAmend() {
|
||||
list ($err, $stdout) = $this->execManualLocal('help commit');
|
||||
list($err, $stdout) = $this->execManualLocal('help commit');
|
||||
if ($err) {
|
||||
return false;
|
||||
} else {
|
||||
return (strstr($stdout, "amend") !== false);
|
||||
return (strpos($stdout, "amend") !== false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue