Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pileks committed Sep 26, 2023
1 parent 66f0727 commit 0f1ef1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export async function extractSnippetsFromFile(
console.log(`- Extract Snippet ${snippet.name} in ${filePath}`);

if (snippets[snippet.name]) {
throw Error(`Duplicate Snippet Definition: ${snippet.name} in ${filePath}`);
throw Error(
`Duplicate Snippet Definition: ${snippet.name} in ${filePath}`
);
}

snippets[snippet.name] = snippet.contents;
Expand Down

0 comments on commit 0f1ef1f

Please sign in to comment.