Skip to content

Commit

Permalink
Fix prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Nov 24, 2024
1 parent 91dbc36 commit 89d68ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cli/commands/benchmark-web-vitals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export const options = [
},
{
argname: '-w, --window-viewport <dimensions>',
description: 'Open page with the supplied viewport dimensions such as "360x800" or "1920x1080", defaults to "960x700"',
description:
'Open page with the supplied viewport dimensions such as "360x800" or "1920x1080", defaults to "960x700"',
},
];

Expand Down Expand Up @@ -207,8 +208,8 @@ function getParamsFromOptions( opt ) {
);
}
params.windowViewport = {
width: parseInt( matches[1] ),
height: parseInt( matches[2] ),
width: parseInt( matches[ 1 ] ),
height: parseInt( matches[ 2 ] ),
};
}

Expand Down

0 comments on commit 89d68ab

Please sign in to comment.