Skip to content

Commit

Permalink
Update imagecta.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kailasnadh790 committed Nov 30, 2023
1 parent e7655bd commit 1913a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cigaradvisor/blocks/imagecta/imagecta.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
buildBlock, createOptimizedPicture, decorateBlock, loadBlock, readBlockConfig, toClassName,
createOptimizedPicture, readBlockConfig,
} from '../../scripts/aem.js';

Check failure on line 3 in cigaradvisor/blocks/imagecta/imagecta.js

View workflow job for this annotation

GitHub Actions / build

Expected 1 empty line after import statement not followed by another import
export default async function decorate(block) {
const configs = readBlockConfig(block);
Expand All @@ -9,3 +9,4 @@ export default async function decorate(block) {
anchor.setAttribute('href', configs.link);
block.append(anchor);
}

Check failure on line 12 in cigaradvisor/blocks/imagecta/imagecta.js

View workflow job for this annotation

GitHub Actions / build

Too many blank lines at the end of file. Max of 0 allowed

0 comments on commit 1913a44

Please sign in to comment.