Skip to content

Commit

Permalink
style(cli): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgousset committed Apr 25, 2024
1 parent e7ac487 commit 7ad2099
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/commands/account/get-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { displayMetadata } from '../../utils/identity'

export default class GetMetadata extends BaseCommand {
static description =
'Show information about an address. Retreives the metadata URL for an account from the on-chain, then fetches the metadata file off-chain and verifies proofs as able.'
'Show information about an address. Retrieves the metadata URL for an account from the on-chain, then fetches the metadata file off-chain and verifies proofs as able.'

static flags = {
...BaseCommand.flags,
Expand Down Expand Up @@ -39,7 +39,7 @@ export default class GetMetadata extends BaseCommand {
)
console.info('Metadata contains the following claims: \n')
await displayMetadata(metadata, kit, flags)
} catch (error: any) {
} catch (error) {
console.error(`Metadata could not be retrieved from ${metadataURL}: ${error.toString()}`)
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/account/register-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { displayMetadata } from '../../utils/identity'

export default class RegisterMetadata extends BaseCommand {
static description =
'Register metadata URL for an account where users will be able to retieve the metadata file and verify your claims'
'Register metadata URL for an account where users will be able to retrieve the metadata file and verify your claims'

static flags = {
...BaseCommand.flags,
from: CustomFlags.address({
required: true,
description: 'Addess of the account to set metadata for',
description: 'Address of the account to set metadata for',
}),
url: Flags.url({
required: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/exchange/stable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class ExchangeStable extends ExchangeStableBase {
...ExchangeStableBase.flags,
stableToken: Flags.option({
options: Object.keys(stableTokenOptions) as (StableToken | Lowercase<StableToken>)[],
description: 'Name of the stable token to be transfered',
description: 'Name of the stable token to be transferred',
})(),
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/network/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const UNVERSIONED_CONTRACTS = [
const UNPROXIED_CONTRACTS: CeloContract[] = []

export default class Contracts extends BaseCommand {
static description = 'Lists Celo core contracts and their addesses.'
static description = 'Lists Celo core contracts and their addresses.'

static flags = {
...BaseCommand.flags,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ReleaseGoldBaseCommand } from '../../utils/release-gold-base'

export default class RefundAndFinalize extends ReleaseGoldBaseCommand {
static description =
"Refund the given contract's balance to the appopriate parties and destroy the contact. Can only be called by the release owner of revocable ReleaseGold instances."
"Refund the given contract's balance to the appropriate parties and destroy the contact. Can only be called by the release owner of revocable ReleaseGold instances."

static flags = {
...ReleaseGoldBaseCommand.flags,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/transfer/stable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class TransferStable extends TransferStableBase {
...TransferStableBase.flags,
stableToken: Flags.option({
options: Object.keys(stableTokenOptions) as (StableToken | Lowercase<StableToken>)[],
description: 'Name of the stable to be transfered',
description: 'Name of the stable to be transferred',
})(),
}

Expand Down

0 comments on commit 7ad2099

Please sign in to comment.