Skip to content

Commit 6c943bb

Browse files
authored
fix message for HH206 (#5538)
1 parent de63f1d commit 6c943bb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/rude-suits-add.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Fix message for error HH206

packages/hardhat-core/src/internal/core/errors-list.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Please use \`runSuper.isDefined\` to make sure that you can call it.`,
552552
DEFAULT_VALUE_WRONG_TYPE: {
553553
number: 206,
554554
message:
555-
"Default value for param %paramName% of task %taskName% doesn't match the default one, try specifying it.",
555+
"Default value for param %paramName% of task %taskName% doesn't match its expected type.",
556556
title: "Default value has incorrect type",
557557
description: `One of your tasks has a parameter whose default value doesn't match the expected type.
558558

0 commit comments

Comments
 (0)