Skip to content

Commit

Permalink
Fix cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Nov 1, 2024
1 parent 741a756 commit 35ea62b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cli/src/commands/invite/claim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ use crate::utils::*;

#[derive(clap::Parser)]
pub struct Args {
/// Server invitation address (e.g.: parsec3://127.0.0.1:41997/Org?no_ssl=true&a=claim_shamir_recovery&p=xBA2FaaizwKy4qG5cGDFlXaL)
// cspell:disable-next-line
/// Server invitation address (e.g.: parsec3://127.0.0.1:41997/Org?no_ssl=true&a=claim_shamir_recovery&p=xBA2FaaizwKy4qG5cGDFlXaL`)
#[arg(short, long)]
addr: ParsecInvitationAddr,
/// Read the password from stdin instead of a TTY.
Expand Down
3 changes: 2 additions & 1 deletion libparsec/crates/types/tests/unit/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ fn invitation_addr_bad_type(
&url,
AddrError::InvalidParamValue {
param: "a",
help: "Expected `a=claim_user` or `a=claim_device`".to_string(),
help: "Expected `a=claim_user`, `a=claim_device` or `a=claim_shamir_recovery`"
.to_string(),
},
);
}
Expand Down
2 changes: 1 addition & 1 deletion server/parsec/components/memory/invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ async def info_as_invited(
case InvitationType.SHAMIR_RECOVERY:
shamir_recovery_invitation = self._get_shamir_recovery_invitation(org, invitation)
if shamir_recovery_invitation is None:
# TODO: The invitation is not actually deleted, but the corresoinding setup has
# TODO: The invitation is not actually deleted, but the corresponding setup has
# been deleted. This is a bit misleading, we should find a way to differentiate
# between the two cases.
return InviteAsInvitedInfoBadOutcome.INVITATION_DELETED
Expand Down

0 comments on commit 35ea62b

Please sign in to comment.