From 471a70f2b31bb7813cd3825b1fc5b10fdb31fff0 Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 9 Feb 2023 10:50:59 -0500 Subject: [PATCH] Update packages/eslint-plugin/onlyHardhatErrorRule.js Co-authored-by: Patricio Palladino --- packages/eslint-plugin/onlyHardhatErrorRule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/onlyHardhatErrorRule.js b/packages/eslint-plugin/onlyHardhatErrorRule.js index 188bfe2940..e6aa912980 100644 --- a/packages/eslint-plugin/onlyHardhatErrorRule.js +++ b/packages/eslint-plugin/onlyHardhatErrorRule.js @@ -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.`, }); } },