clean up long line

This commit is contained in:
Anirudh Oppiliappan 2022-12-22 11:20:02 +05:30
parent 45d1c6c2ec
commit 0ed4b29fe0
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
1 changed files with 6 additions and 3 deletions

View File

@ -20,9 +20,12 @@ func main() {
log.Fatal(err)
}
err = UnveilPaths([]string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates}, "r")
if err != nil {
log.Fatalf("unveil: %w", err)
if err := UnveilPaths([]string{
c.Dirs.Static,
c.Repo.ScanPath,
c.Dirs.Templates},
"r"); err != nil {
log.Fatalf("unveil: %s", err)
}
mux := routes.Handlers(c)