Skip to content

Commit

Permalink
fix message for HH206 (#5538)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsNickBarry authored Jul 22, 2024
1 parent de63f1d commit 6c943bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rude-suits-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Fix message for error HH206
2 changes: 1 addition & 1 deletion packages/hardhat-core/src/internal/core/errors-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ Please use \`runSuper.isDefined\` to make sure that you can call it.`,
DEFAULT_VALUE_WRONG_TYPE: {
number: 206,
message:
"Default value for param %paramName% of task %taskName% doesn't match the default one, try specifying it.",
"Default value for param %paramName% of task %taskName% doesn't match its expected type.",
title: "Default value has incorrect type",
description: `One of your tasks has a parameter whose default value doesn't match the expected type.
Expand Down

0 comments on commit 6c943bb

Please sign in to comment.