File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ var PNG = require('pngjs').PNG,
66 match = require ( '../.' ) ;
77
88if ( process . argv . length < 5 ) {
9- return console . log ( 'Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]' ) ;
9+ console . log ( 'Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]' ) ;
10+ return ;
1011}
1112
1213var threshold = isNaN ( + process . argv [ 5 ] ) ? undefined : + process . argv [ 5 ] ,
Original file line number Diff line number Diff line change 77 "pixelmatch" : " bin/pixelmatch"
88 },
99 "dependencies" : {
10- "pngjs" : " ^2.1 .0"
10+ "pngjs" : " ^3.0 .0"
1111 },
1212 "devDependencies" : {
13- "eslint" : " ^1.6.0 " ,
14- "eslint-config-mourner" : " ^1 .0.1" ,
15- "tap" : " ^2.1.1 "
13+ "eslint" : " ^3.2.2 " ,
14+ "eslint-config-mourner" : " ^2 .0.1" ,
15+ "tap" : " ^6.3.0 "
1616 },
1717 "scripts" : {
1818 "pretest" : " eslint index.js bin/pixelmatch test/test.js" ,
You can’t perform that action at this time.
0 commit comments