mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 02:29:33 +01:00
fix(clone): state the empty-target requirement in the already-has-files error
This commit is contained in:
1 parent
ec4c901190
commit
51264ec0c0
2 files changed
+4
-4
No files matched your search
@@ -748,7 +748,7 @@ export function registerCaseRoutes(
|
||||
? ApiErrorCode.ALREADY_EXISTS
|
||||
: ApiErrorCode.INVALID_INPUT,
|
||||
prepared.code === 'EXISTS'
|
||||
? `${customPath} already has files in it. Pick an empty folder, or a folder that does not exist yet.`
|
||||
? `${customPath} already has files in it. The clone target must be empty or not exist yet.`
|
||||
: prepared.reason
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user