mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
go1.16 (#14783)
This commit is contained in:
2
vendor/go.uber.org/zap/sink.go
generated
vendored
2
vendor/go.uber.org/zap/sink.go
generated
vendored
@@ -136,7 +136,7 @@ func newFileSink(u *url.URL) (Sink, error) {
|
||||
case "stderr":
|
||||
return nopCloserSink{os.Stderr}, nil
|
||||
}
|
||||
return os.OpenFile(u.Path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0644)
|
||||
return os.OpenFile(u.Path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0666)
|
||||
}
|
||||
|
||||
func normalizeScheme(s string) (string, error) {
|
||||
|
Reference in New Issue
Block a user