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
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