Skip to content

Commit

Permalink
Lint cml.js
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored May 8, 2024
1 parent 0f9e0f8 commit cac2dc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ class CML {
const publishLocalFiles = async (tree) => {
const nodes = [];

visit(tree, ['definition', 'image', 'link'], (node) => { nodes.push(node) });
visit(tree, ['definition', 'image', 'link'], (node) => {
nodes.push(node)

Check failure on line 217 in src/cml.js

View workflow job for this annotation

GitHub Actions / lint

Insert `;`
});

const isWatermark = (node) => {
return node.title && node.title.startsWith('CML watermark');
Expand Down

0 comments on commit cac2dc1

Please sign in to comment.