mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Minor linter fixes
Summary: Minor linter fixes. Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12836
This commit is contained in:
parent
c6fa42b9c5
commit
4864435a50
4 changed files with 6 additions and 11 deletions
|
@ -183,7 +183,8 @@ EOTEXT
|
||||||
// Create commit message and execute the commit
|
// Create commit message and execute the commit
|
||||||
$message = $this->buildCommitMessage($commit_hash);
|
$message = $this->buildCommitMessage($commit_hash);
|
||||||
$repository_api->doCommit($message);
|
$repository_api->doCommit($message);
|
||||||
$console->writeOut(pht('Double-check the commit and push when ready.')."\n");
|
$console->writeOut("%s\n",
|
||||||
|
pht('Double-check the commit and push when ready.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,8 +29,4 @@ EOTEXT
|
||||||
return array('hg');
|
return array('hg');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function run() {
|
|
||||||
return parent::run();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,8 +29,4 @@ EOTEXT
|
||||||
return array('git');
|
return array('git');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function run() {
|
|
||||||
return parent::run();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,8 +223,10 @@ EOTEXT
|
||||||
if (preg_match('/^[a-z-]+$/', $name)) {
|
if (preg_match('/^[a-z-]+$/', $name)) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
echo pht(
|
echo phutil_console_format(
|
||||||
'Library name should contain only lowercase letters and hyphens.')."\n";
|
"%s\n",
|
||||||
|
pht(
|
||||||
|
'Library name should contain only lowercase letters and hyphens.'));
|
||||||
}
|
}
|
||||||
} while (true);
|
} while (true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue