Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Nov 4, 2024
1 parent c7cfcb8 commit 61ea62a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/osquery/interactive/interactive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ func downloadOsquery(dir string) error {
// The default t.TempDir is too long of a path, creating too long of an osquery
// extension socket, on posix systems.
func testRootDirectory(t *testing.T) string {
if runtime.GOOS == "windows" {
return t.TempDir()
}

ulid := ulid.New()
rootDir := filepath.Join(os.TempDir(), ulid[len(ulid)-4:])
require.NoError(t, os.Mkdir(rootDir, 0700))
Expand Down

0 comments on commit 61ea62a

Please sign in to comment.