1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-09 16:32:39 +01:00

Clarify confusing error message about missing .arcconfig vs missing conduit.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-01-13 15:36:15 -08:00
parent 2c4b453757
commit 68dee48bf4

View file

@ -97,6 +97,12 @@ try {
$need_repository_api;
if ($need_working_copy) {
if (!$working_copy->getProjectRoot()) {
throw new ArcanistUsageException(
"There is no '.arcconfig' file in this directory or any parent ".
"directory. Create a '.arcconfig' file to configure this project ".
"for use with Arcanist.");
}
$workflow->setWorkingCopy($working_copy);
}