Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Nov 9, 2022
1 parent da81f68 commit beadc9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aea/cli/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def fetch(
ctx.registry_type = registry
try:
do_fetch(ctx, public_id, alias)
except NotAnAgentPacakge as e:
except NotAnAgentPackage as e:
raise click.ClickException(str(e)) from e


Expand Down Expand Up @@ -164,7 +164,7 @@ def fetch_agent_ipfs(
ctx.cwd = str(target_dir)

if not Path(target_dir, DEFAULT_AEA_CONFIG_FILE).exists():
raise NotAnAgentPacakge(
raise NotAnAgentPackage(
f"Downloaded packages at {target_dir} is not an agent package, please check hash"
)

Expand Down Expand Up @@ -279,5 +279,5 @@ def fetch_mixed(
fetch_agent(ctx, public_id, alias=alias, target_dir=target_dir)


class NotAnAgentPacakge(Exception):
class NotAnAgentPackage(Exception):
"""Raise when downloaded package is not an agent package."""

0 comments on commit beadc9f

Please sign in to comment.