diff --git a/Module/Cmdlets/OTP/RemoveYubikeyOTP.cs b/Module/Cmdlets/OTP/RemoveYubikeyOTP.cs index 9eb953c..9db3fa5 100644 --- a/Module/Cmdlets/OTP/RemoveYubikeyOTP.cs +++ b/Module/Cmdlets/OTP/RemoveYubikeyOTP.cs @@ -39,7 +39,7 @@ protected override void ProcessRecord() using (var otpSession = new OtpSession((YubiKeyDevice)YubiKeyModule._yubikey!)) { // Check if the slot is configured, if not, Write Warning and continue - if ((Slot == Slot.ShortPress && ! otpSession.IsShortPressConfigured) || (Slot == Slot.LongPress && !otpSession.IsLongPressConfigured)) + if ((Slot == Slot.ShortPress && !otpSession.IsShortPressConfigured) || (Slot == Slot.LongPress && !otpSession.IsLongPressConfigured)) { WriteWarning($"Slot {Slot.ToString("d")} ({Slot}) is not configured."); return; diff --git a/Module/types/PIVSlot.cs b/Module/types/PIVSlot.cs index b57ef8a..2ba970d 100644 --- a/Module/types/PIVSlot.cs +++ b/Module/types/PIVSlot.cs @@ -168,7 +168,7 @@ public static implicit operator byte(PIVSlot slot) return slot.Value; } - public static implicit operator int(PIVSlot slot) + public static implicit operator int(PIVSlot slot) { return slot.Value; }