From 3a35929cda973a968335d22834de5f8a58043e19 Mon Sep 17 00:00:00 2001 From: "Jordan K. Wilson" Date: Sat, 1 Aug 2026 12:14:41 +1200 Subject: [PATCH] fix: exception body incorrectly references file when directory validation fails --- source/commandr/validators.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/commandr/validators.d b/source/commandr/validators.d index b41d0dd..5d0c510 100644 --- a/source/commandr/validators.d +++ b/source/commandr/validators.d @@ -272,7 +272,7 @@ public class FileSystemValidator: IValidator { case FileType.Directory: if (!arg.isDir) { throw new ValidationException(this, - "value specified in %s %s must be a valid file".format( + "value specified in %s %s must be a valid directory".format( entry.getEntryKindName(), entry.name, ) );