1
0
Fork 0
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:
vrana 2012-08-15 14:27:01 -07:00
parent cae7631dff
commit 014521362f

View file

@ -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);
}
}