1
0
Fork 0

chore: upgrade linter

This commit is contained in:
Ludovic Fernandez 2021-09-16 09:16:07 +02:00 committed by GitHub
parent 6e28db513c
commit 6f4a7fb604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -468,7 +468,7 @@ func TestDo_dynamicConfiguration(t *testing.T) {
require.NoError(t, err)
if *updateExpected {
require.NoError(t, os.WriteFile("testdata/anonymized-dynamic-config.json", []byte(cleanJSON), 0666))
require.NoError(t, os.WriteFile("testdata/anonymized-dynamic-config.json", []byte(cleanJSON), 0o666))
}
expected := strings.TrimSuffix(string(expectedConfiguration), "\n")
@ -975,7 +975,7 @@ func TestDo_staticConfiguration(t *testing.T) {
require.NoError(t, err)
if *updateExpected {
require.NoError(t, os.WriteFile("testdata/anonymized-static-config.json", []byte(cleanJSON), 0666))
require.NoError(t, os.WriteFile("testdata/anonymized-static-config.json", []byte(cleanJSON), 0o666))
}
expected := strings.TrimSuffix(string(expectedConfiguration), "\n")

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package acme

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package server