Skip to content

Commit c83412f

Browse files
Switch 'check-cover' to use Flow's 'batch-coverage' cmd (#1795)
1 parent 26da75e commit c83412f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"benchmark": "node ./resources/benchmark.js",
3232
"prettier": "prettier --write --list-different 'src/**/*.js'",
3333
"check": "flow check",
34-
"check-cover": "for file in {src/*.js,src/**/*.js}; do echo $file; flow coverage $file; done",
34+
"check-cover": "flow batch-coverage --quiet --strip-root --show-all src/ && flow stop --quiet",
3535
"build": "npm run build:clean && npm run build:cp && npm run build:package-json && npm run build:cjs && npm run build:mjs && npm run build:flow",
3636
"build:clean": "rm -rf ./dist && mkdir ./dist",
3737
"build:cp": "cp README.md LICENSE ./dist",

0 commit comments

Comments
 (0)