File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 44 "description" : " image optimization for faucet-pipeline" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " npm- run-all --parallel lint test:cli" ,
7+ "test" : " npm run lint && npm run test:cli" ,
88 "test:cli" : " ./test/run" ,
99 "test:prepare" : " ./test/prepare" ,
1010 "lint" : " eslint --cache index.js test && echo ✓"
3131 "eslint-config-fnd" : " ^1.13.0" ,
3232 "file-type-cli" : " ^6.0.0" ,
3333 "json-diff" : " ^1.0.0" ,
34- "npm-run-all" : " ^4.1.5" ,
3534 "release-util-fnd" : " ^3.0.0"
3635 }
3736}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function assert_svg {
4646 grep -q svg " ${1:? } " || fail " expected $1 to be an SVG"
4747}
4848
49- # checks the dimensions of an image, requires ImageMagick
49+ # checks the dimensions of an image
5050function assert_dimensions {
5151 expected_dimensions=" ${1:? } "
5252 actual_dimensions=$( file " ${2:? } " | grep -oE " [0-9]+x[0-9]+" )
You can’t perform that action at this time.
0 commit comments