Skip to content

Commit

Permalink
fix staticchecks from new version
Browse files Browse the repository at this point in the history
  • Loading branch information
rjkroege committed Feb 11, 2025
1 parent 6bf7167 commit c515284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions acme.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package main

import (
"context"
"errors"
"flag"
"fmt"
"image"
"log"
"os"
Expand Down Expand Up @@ -577,7 +577,7 @@ type errorWriter struct{}
func (w errorWriter) Write(data []byte) (n int, err error) {
n = len(data)
if n > 0 {
global.cerr <- fmt.Errorf(string(data))
global.cerr <- errors.New(string(data))
}
return
}
Expand Down
1 change: 0 additions & 1 deletion cmd/win/win_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux netbsd openbsd solaris

Expand Down

0 comments on commit c515284

Please sign in to comment.