Skip to content

Commit c9822cb

Browse files
committed
fix: linter issues
1 parent 43aeb00 commit c9822cb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/tests.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package tests provides the base test suite for the entire package
12
package tests
23

34
import (
@@ -35,11 +36,11 @@ func (ts *TestSuite) BaseSetupSuite() {
3536
var dir *os.File
3637
pathPrefix := "../../"
3738

38-
if runtime.GOOS == "windows" {
39+
if runtime.GOOS == "windows" { // todo: use go-Embed and remove this
3940
pathPrefix = "../../../"
4041
}
4142

42-
dir, err = os.Open(path.Join(dirname, pathPrefix))
43+
dir, err = os.Open(path.Join(dirname, pathPrefix)) //nolint:gosec // todo: use go-Embed and remove this
4344
require.NoError(ts.T(), err)
4445

4546
// Load the configuration

0 commit comments

Comments
 (0)