mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-13 07:18:35 +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() {
|
public function supportsAmend() {
|
||||||
list ($err, $stdout) = $this->execManualLocal('help commit');
|
list($err, $stdout) = $this->execManualLocal('help commit');
|
||||||
if ($err) {
|
if ($err) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return (strstr($stdout, "amend") !== false);
|
return (strpos($stdout, "amend") !== false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue