node-print: lint

This commit is contained in:
ptrcnull 2023-05-15 17:32:14 +02:00
parent a07ddb484a
commit 566e621751
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -17,7 +17,7 @@ builddir="$srcdir"
check() {
node --experimental-test-coverage --test > output.txt
# ensure coverage
local cov_lines="$(grep -F index.js output.txt | cut -d' ' -f4 | cut -d. -f1)"
[ "$cov_lines" -gt 90 ]