Skip to content

Commit 3edfe9a

Browse files
committed
Fixed linter errors
1 parent 2bdfe42 commit 3edfe9a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ui-tests/cypress.config.sample.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,15 @@ module.exports = defineConfig({
7474
const imgData = await new Promise((resolve) => {
7575
try {
7676
page.objs.get(objName, (data) => resolve(data));
77-
} catch (e) {
77+
}
78+
catch (e) {
7879
resolve(null);
7980
}
8081
});
8182

82-
if (!imgData) continue;
83+
if (!imgData) {
84+
continue;
85+
}
8386

8487
const pdfImg = new PNG({ width: imgData.width, height: imgData.height });
8588
pdfImg.data = imgData.data;

0 commit comments

Comments
 (0)