Skip to content

Commit

Permalink
Updated formating
Browse files Browse the repository at this point in the history
  • Loading branch information
virot committed Dec 25, 2024
1 parent fa11e85 commit 8381b8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Module/Cmdlets/OTP/RemoveYubikeyOTP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Module/types/PIVSlot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8381b8a

Please sign in to comment.