Skip to content

Commit

Permalink
Update packages/vite/src/node/server/http.ts
Browse files Browse the repository at this point in the history
refact: empty catch style.

Co-authored-by: Shinigami <chrissi92@hotmail.de>
  • Loading branch information
wmzy and Shinigami92 committed Jul 4, 2021
1 parent da140e8 commit 8666a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/http.ts
Expand Up @@ -150,7 +150,7 @@ async function getCertificate(config: ResolvedConfig) {
}

return content
} catch (e) {
} catch {
const content = await createCertificate()
fsp
.mkdir(config.cacheDir, { recursive: true })
Expand Down

0 comments on commit 8666a52

Please sign in to comment.