Skip to content

Commit

Permalink
workflow: fix error code of coverage tool (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
FeelyChau authored Jan 20, 2021
1 parent f9477e5 commit 372f938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/coverage.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

# clear old data
rm -rf .nyc_output coverage
rm -rf .nyc_output coverage && \
# generate coverage file
npx lerna run cov
npx lerna run cov && \
# merge coverage directory into package root
find packages -type d -name .nyc_output -exec cp -r {} ./ \;

0 comments on commit 372f938

Please sign in to comment.