Skip to content

Commit c7b5709

Browse files
fix errors after pulling from v-next origin
1 parent f5c46c2 commit c7b5709

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

v-next/hardhat-errors/src/descriptors.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -235,16 +235,15 @@ Please double check your arguments.`,
235235
UNRECOGNIZED_NAMED_PARAM: {
236236
number: 304,
237237
messageTemplate:
238-
'Invalid parameter "%parameter%". It is neither a valid global parameter nor associated with any task. Did you forget to add the task first, or did you misspell it?',
238+
"Invalid parameter {parameter}. It is neither a valid global parameter nor associated with any task. Did you forget to add the task first, or did you misspell it?",
239239
websiteTitle: "Invalid parameter value",
240240
websiteDescription: `One of your Hardhat parameters is invalid.
241241
242242
Please double check your arguments.`,
243243
},
244244
MISSING_VALUE_FOR_NAMED_PARAMETER: {
245245
number: 305,
246-
messageTemplate:
247-
'Missing value for the task parameter named "%paramName%"',
246+
messageTemplate: "Missing value for the task parameter named {paramName}",
248247
websiteTitle: "Missing value for the task parameter",
249248
websiteDescription: `You tried to run a task, but one of the values of its parameters was missing.
250249
@@ -253,7 +252,7 @@ Please double check how you invoked Hardhat or ran your task.`,
253252
UNUSED_ARGUMENT: {
254253
number: 306,
255254
messageTemplate:
256-
'The argument with value "%value%" was not consumed because it is not associated with any task.',
255+
"The argument with value {value} was not consumed because it is not associated with any task.",
257256
websiteTitle: "Argument was not consumed",
258257
websiteDescription: `You tried to run a task, but one of your arguments was not consumed.
259258

0 commit comments

Comments
 (0)