Skip to content

Commit

Permalink
Update src/reporters/pdf/html.ts
Browse files Browse the repository at this point in the history
Remove fs module
  • Loading branch information
Parag Poddar committed Mar 13, 2020
1 parent 8d91b2c commit 08e2369
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/reporters/pdf/html.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

import * as cpy from "cpy";
import * as ejs from "ejs";
import * as fs from "fs";

function processReportData(reportData: any, includeOnlyIssues?: boolean) {
const reportSummary: any[] = [];
Expand Down Expand Up @@ -166,10 +165,6 @@ function getCurrentDate() {
return dd + '/' + mm + '/' + yyyy;
}

function writeFile(fileName, data) {
fs.writeFileSync(fileName, data, "utf-8");
}

export async function generateHTML(
reportData: any,
options?: {
Expand Down

0 comments on commit 08e2369

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy