node-print: lint
This commit is contained in:
parent
a07ddb484a
commit
566e621751
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ builddir="$srcdir"
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
node --experimental-test-coverage --test > output.txt
|
node --experimental-test-coverage --test > output.txt
|
||||||
|
|
||||||
# ensure coverage
|
# ensure coverage
|
||||||
local cov_lines="$(grep -F index.js output.txt | cut -d' ' -f4 | cut -d. -f1)"
|
local cov_lines="$(grep -F index.js output.txt | cut -d' ' -f4 | cut -d. -f1)"
|
||||||
[ "$cov_lines" -gt 90 ]
|
[ "$cov_lines" -gt 90 ]
|
||||||
|
|
Loading…
Reference in a new issue