Skip to content

Commit

Permalink
fix: ci fail
Browse files Browse the repository at this point in the history
  • Loading branch information
skanehira committed Aug 15, 2024
1 parent 1772e44 commit 1568978
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
version: v1.60.1
test:
strategy:
matrix:
Expand Down
6 changes: 3 additions & 3 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ func checkOrigin(allowOrigins []string) func(config *websocket.Config, req *http
}
}

msg := fmt.Sprintf("not allowed origin: %s", config.Origin.Host)
log.Printf(msg)
return fmt.Errorf(msg)
msg := "not allowed origin: %s\n"
log.Printf(msg, config.Origin.Host)
return fmt.Errorf(msg, config.Origin.Host)
}
}

Expand Down

0 comments on commit 1568978

Please sign in to comment.