Skip to content

Commit

Permalink
fix typescript issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lpelypenko committed Jul 9, 2024
1 parent 8ee4f00 commit 31520ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ export function createHtmlReport({ results, options }: CreateReport): string {

return htmlContent;
} catch (e) {
// @ts-ignore
console.warn(`HTML report was not created due to the error ${e.message}`);

// @ts-ignore
return `Failed to create HTML report due to an error ${e.message}`;
}
}

0 comments on commit 31520ae

Please sign in to comment.