Skip to content

Commit

Permalink
chore: linting PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 27, 2022
1 parent 7a848c7 commit 594fadb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vite/src/node/plugins/importAnalysisBuild.ts
Expand Up @@ -75,7 +75,9 @@ function preload(baseModule: () => Promise<{}>, deps?: string[]) {
if (isCss) {
return new Promise((res, rej) => {
link.addEventListener('load', res)
link.addEventListener('error', () => rej(new Error(`Unable to load CSS for ${dep}`)))
link.addEventListener('error', () =>
rej(new Error(`Unable to load CSS for ${dep}`))
)
})
}
})
Expand Down

0 comments on commit 594fadb

Please sign in to comment.