Skip to content

Commit

Permalink
remove pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvanipa committed Oct 31, 2023
1 parent 46a06a1 commit 8996d63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
1 change: 0 additions & 1 deletion packages/gas-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"chalk": "4.1.2",
"dotenv": "^16.0.3",
"execa": "^5.1.1",
"strip-ansi": "^7.1.0",
"table": "^6.8.1",
"yargs": "^17.7.1"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/gas-report/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { readFileSync, writeFileSync } from "fs";
import execa from "execa";
import chalk from "chalk";
import { table, getBorderCharacters } from "table";
import stripAnsi from "strip-ansi";
// import stripAnsi from "strip-ansi";
// const stripAnsi = require('strip-ansi');

/**
Expand Down Expand Up @@ -113,7 +113,8 @@ async function runGasReport(): Promise<GasReport> {
}

// Extract the gas reports from the logs
const lines = stdout.split("\n").map(stripAnsi);
// const lines = stdout.split("\n").map(stripAnsi);
const lines = stdout.split("\n");
const gasReportPattern = /^\s*GAS REPORT: (\d+) (.*)$/;
const testFunctionPattern = /^\[(?:PASS|FAIL).*\] (\w+)\(\)/;
const testFilePattern = /^Running \d+ tests? for (.*):(.*)$/;
Expand Down
15 changes: 0 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8996d63

Please sign in to comment.