Skip to content

Commit

Permalink
Improved error message for missing task arg
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeyTM committed Oct 25, 2021
1 parent 8b88242 commit 70f09e4
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -562,7 +562,7 @@ Please double check how you invoked Hardhat or ran your task.`,
},
MISSING_TASK_ARGUMENT: {
number: 306,
message: "Missing task argument %param%",
message: "The '%param%' parameter expects a value, but none was passed.",
title: "Missing task argument",
description: `You tried to run a task, but one of its required arguments was missing.
Expand Down

0 comments on commit 70f09e4

Please sign in to comment.