Skip to content

Commit 9ae0fc5

Browse files
committed
Fix lint
1 parent f77d8c0 commit 9ae0fc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: v-next/hardhat/src/internal/cli/error-handler.ts

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export function printErrorMessages(
8181
print("");
8282

8383
if (showStackTraces) {
84+
/* eslint-disable-next-line @typescript-eslint/restrict-template-expressions
85+
-- As we don't know the type of error we are printing, we can't know if it
86+
has a `stack` property or not, so we print it as a string. */
8487
print(error instanceof Error ? `${error.stack}` : `${error}`);
8588
if (postErrorStackTraceMessage !== undefined) {
8689
print("");

0 commit comments

Comments
 (0)