Skip to content

Commit ef402ff

Browse files
committed
wow thanks windows
1 parent b2a1341 commit ef402ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

provisioner/terraform/modules.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ func getModulesArchive(workdir string) ([]byte, error) {
8080

8181
return nil, err
8282
}
83-
8483
empty := true
8584
var b bytes.Buffer
8685
w := tar.NewWriter(&b)

provisioner/terraform/modules_internal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"crypto/sha256"
66
"encoding/hex"
77
"io/fs"
8-
"path"
8+
"path/filepath"
99
"strings"
1010
"testing"
1111

@@ -17,7 +17,7 @@ import (
1717
func TestGetModulesArchive(t *testing.T) {
1818
t.Parallel()
1919

20-
archive, err := getModulesArchive(path.Join("testdata", "modules-source-caching"))
20+
archive, err := getModulesArchive(filepath.Join("testdata", "modules-source-caching"))
2121
require.NoError(t, err)
2222

2323
// Check that all of the files it should contain are correct

0 commit comments

Comments
 (0)