Skip to content

Commit

Permalink
Update packages/eslint-plugin/onlyHardhatErrorRule.js
Browse files Browse the repository at this point in the history
Co-authored-by: Patricio Palladino <email@patriciopalladino.com>
  • Loading branch information
zoeyTM and alcuadrado committed Feb 9, 2023
1 parent 337456b commit 471a70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/onlyHardhatErrorRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function onlyHardhatPluginErrorRule(context) {

context.report({
node,
message: `Only HardhatError must be thrown, ${exceptionName} found.`,
message: `Only HardhatPluginError must be thrown, ${exceptionName} found.`,
});
}
},
Expand Down

0 comments on commit 471a70f

Please sign in to comment.