Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gitKrystan committed Dec 28, 2023
1 parent c0ee01f commit 15885a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/parse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function convertAst(ast: Node, rawTemplates: RawGlimmerTemplate[]): void {
},
});

if (unprocessedTemplates.length) {
if (unprocessedTemplates.length > 0) {
throw new Error(
`failed to process all templates, ${unprocessedTemplates.length} remaining`,
);
Expand Down
4 changes: 2 additions & 2 deletions src/print/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ export const printer: Printer<Node | undefined> = {
);

return printTemplateTag(content);
} catch (e) {
console.error(e);
} catch (error) {
console.error(error);
return printRawText(path, embedOptions as Options);
}
}
Expand Down

0 comments on commit 15885a5

Please sign in to comment.