From 967e8293c7b21d3faee16d5cff954bbb52444ddd Mon Sep 17 00:00:00 2001 From: "J.L.M" <57787248+JMarkstrom@users.noreply.github.com> Date: Mon, 9 Jun 2025 15:05:07 +0200 Subject: [PATCH] Update GetYubikey.cs Improved error message. --- Module/Cmdlets/Yubikey/GetYubikey.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Module/Cmdlets/Yubikey/GetYubikey.cs b/Module/Cmdlets/Yubikey/GetYubikey.cs index 7fb02ff..c57b6af 100644 --- a/Module/Cmdlets/Yubikey/GetYubikey.cs +++ b/Module/Cmdlets/Yubikey/GetYubikey.cs @@ -64,8 +64,8 @@ protected override void ProcessRecord() } else { - WriteError(new ErrorRecord(new Exception("None YubiKeys selected, Use Connect-Yubikey to specify which Yubikey to use."), "0x00020001", ErrorCategory.InvalidResult, null)); + WriteError(new ErrorRecord(new Exception("No YubiKey(s) selected, Use Connect-Yubikey to specify which Yubikey to use."), "0x00020001", ErrorCategory.InvalidResult, null)); } } } -} \ No newline at end of file +}