We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f999ba4 commit 506e1f8Copy full SHA for 506e1f8
scripts/checks/coverage.sh
@@ -14,7 +14,11 @@ if [ "${CI:-"false"}" == "true" ]; then
14
# Foundry coverage
15
forge coverage --report lcov --ir-minimum
16
# Remove zero hits
17
- sed -i '/,0/d' lcov.info
+ if [[ "$OSTYPE" == "darwin"* ]]; then
18
+ sed -i '' '/,0/d' lcov.info
19
+ else
20
+ sed -i '/,0/d' lcov.info
21
+ fi
22
fi
23
24
# Reports are then uploaded to Codecov automatically by workflow, and merged.
0 commit comments