fix(clone): state the empty-target requirement in the already-has-files error

This commit is contained in:
Devvyn committed 2026-11-06 15:01:00 +08:00
1 parent ec4c901190
commit 51264ec0c0
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
);
}