Skip to content

Commit d177c4a

Browse files
authored
add spaces
1 parent 4563773 commit d177c4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/render-core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ async function render(_opts = {}) {
162162
if (clipContainsSomething) {
163163
screenshotOpts.clip = opts.screenshot.clip;
164164
}
165-
if(_.isNil(opts.screenshot.selector)) {
165+
if (_.isNil(opts.screenshot.selector)) {
166166
data = await page.screenshot(screenshotOpts);
167-
}else {
167+
} else {
168168
const selElement = await page.$(opts.screenshot.selector);
169169
if (!_.isNull(selElement)) {
170170
data = await selElement.screenshot();

0 commit comments

Comments
 (0)