Merge pull request #171 from carr0t2/master

fix: init log error
pull/177/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
commit 20fdd7a58d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .golangci.yml
  2. 3
      cmd/hack-browser-data/main.go

@ -64,4 +64,4 @@ issues:
linters: linters:
- 'unused' - 'unused'
max-issues-per-linter: 0 max-issues-per-linter: 0
max-same-issues: 0 max-same-issues: 0

@ -1,6 +1,7 @@
package main package main
import ( import (
glog "log"
"os" "os"
"strings" "strings"
@ -69,6 +70,6 @@ func Execute() {
} }
err := app.Run(os.Args) err := app.Run(os.Args)
if err != nil { if err != nil {
log.Error(err) glog.Fatal(err)
} }
} }

Loading…
Cancel
Save