Skip to content

Commit 0664fe6

Browse files
authored
fix: reformat scrollToRevealLazyContent call to multi-line per Prettier config (#1189)
Fixes the prettier/prettier ESLint error at src/abilities/screenshot.js:216 where the scrollToRevealLazyContent call arguments were on a single line. Reformatted to multi-line argument style matching project Prettier config. Fixes #1188
1 parent f6f8393 commit 0664fe6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/abilities/screenshot.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ async function executeCaptureScreenshot( args ) {
213213
const originalScrollX = window.scrollX;
214214
const originalScrollY = window.scrollY;
215215
try {
216-
await scrollToRevealLazyContent( window, document, captureHeight );
216+
await scrollToRevealLazyContent(
217+
window,
218+
document,
219+
captureHeight
220+
);
217221
} finally {
218222
window.scrollTo( originalScrollX, originalScrollY );
219223
}

0 commit comments

Comments
 (0)