Skip to content

Commit

Permalink
fix(package.json): update forge-coverage script to handle additional …
Browse files Browse the repository at this point in the history
…ignore errors
  • Loading branch information
bayou020 committed Dec 9, 2024
1 parent ef4bafb commit fd6c937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"install-husky": "husky install",
"prepare": "npm-run-all install-husky install-pip-packages",
"slither-analyze": "slither .",
"forge-coverage": "forge coverage --report lcov && lcov --rc branch_coverage=1 --rc derive_function_end_line=0 --remove ./lcov.info -o ./lcov.info && rm -rf ./coverage && genhtml lcov.info --rc branch_coverage=1 --rc derive_function_end_line=0 --output-dir coverage && mv lcov.info ./coverage",
"forge-coverage": "forge coverage --report lcov && lcov --ignore-errors inconsistent ... --ignore-errors unused ... --ignore-errors missing ... --rc branch_coverage=1 --rc derive_function_end_line=0 --remove ./lcov.info -o ./lcov.info && rm -rf ./coverage && genhtml lcov.info --ignore-errors inconsistent ... --ignore-errors corrupt ... --ignore-errors missing … --ignore-errors category ... --rc branch_coverage=1 --rc derive_function_end_line=0 --output-dir coverage && mv lcov.info ./coverage",
"lint-contract": "solhint 'contracts/**/*.sol' -f table",
"lint-test-contract": "solhint 'test/**/*.sol' -f table",
"lint-contract:errors": "solhint 'contracts/**/*.sol' 'test/**/*.sol' -f table --quiet",
Expand Down

0 comments on commit fd6c937

Please sign in to comment.