Skip to content

Commit

Permalink
refactor(html/linter): Return promise instead of await
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Apr 11, 2024
1 parent 33c7a0b commit 42421cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linter/html/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ export default async function lintHtml({workspace, context}: LinterParameters) {
}

await Promise.all(htmlResources.map(async (resource: Resource) => {
await transpileHtml(resource.getPath(), resource.getStream(), context);
return transpileHtml(resource.getPath(), resource.getStream(), context);
}));
}

0 comments on commit 42421cf

Please sign in to comment.