clean up long line
This commit is contained in:
parent
45d1c6c2ec
commit
0ed4b29fe0
9
main.go
9
main.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue