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:
parent
2c4b453757
commit
68dee48bf4
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue