File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ async function capturePages({ original, sample }) {
4747 } )
4848 await page . goto ( infos . url )
4949
50- const pageHeight = await page . evaluate ( ( ) => {
51- return document . getElementsByTagName ( 'html' ) [ 0 ] . scrollHeight
52- } )
50+ const pageHeight = await page . evaluate (
51+ ( ) => document . getElementsByTagName ( 'html' ) [ 0 ] . scrollHeight ,
52+ )
5353 const partHeight = Math . round ( pageHeight / NB_SCREEN_PER_PAGE )
5454
5555 const filesPath = Array . from ( { length : NB_SCREEN_PER_PAGE } ) . map (
Original file line number Diff line number Diff line change 1212 "dependencies" : {
1313 "@babel/eslint-parser" : " ^7.12.1" ,
1414 "eslint-config-airbnb" : " ^18.2.1" ,
15- "eslint-config-prettier" : " ^6.15 .0" ,
15+ "eslint-config-prettier" : " ^7.0 .0" ,
1616 "eslint-plugin-import" : " ^2.22.1" ,
1717 "eslint-plugin-jsx-a11y" : " ^6.4.1" ,
1818 "eslint-plugin-react" : " ^7.21.5" ,
Original file line number Diff line number Diff line change @@ -4049,12 +4049,10 @@ eslint-config-airbnb@^18.2.1:
40494049 object.assign "^4.1.2"
40504050 object.entries "^1.1.2"
40514051
4052- eslint-config-prettier@^6.15.0 :
4053- version "6.15.0"
4054- resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9"
4055- integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==
4056- dependencies :
4057- get-stdin "^6.0.0"
4052+ eslint-config-prettier@^7.0.0 :
4053+ version "7.0.0"
4054+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz#c1ae4106f74e6c0357f44adb076771d032ac0e97"
4055+ integrity sha512-8Y8lGLVPPZdaNA7JXqnvETVC7IiVRgAP6afQu9gOQRn90YY3otMNh+x7Vr2vMePQntF+5erdSUBqSzCmU/AxaQ==
40584056
40594057eslint-formatter-gitlab@^2.0.0 :
40604058 version "2.0.0"
@@ -4738,11 +4736,6 @@ get-stdin@^4.0.1:
47384736 resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
47394737 integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=
47404738
4741- get-stdin@^6.0.0 :
4742- version "6.0.0"
4743- resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
4744- integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
4745-
47464739get-stream@^4.0.0, get-stream@^4.1.0 :
47474740 version "4.1.0"
47484741 resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
You can’t perform that action at this time.
0 commit comments