Skip to content

Commit

Permalink
ci: add go-vet
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Devigne committed Jun 1, 2024
1 parent e65cdaf commit e6cfa6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: go vet
go-staticcheck:
name: "golang:staticcheck"
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func onReady() {
}

pinger.OnSendError = func(packet *probing.Packet, err error) {
systray.SetTitle(fmt.Sprintf("🔴 Network unavailable"))
systray.SetTitle("🔴 Network unavailable")

if strings.Contains(err.Error(), "sendto") {
parts := strings.Split(err.Error(), ": ")
Expand Down

0 comments on commit e6cfa6c

Please sign in to comment.