Skip to content

Commit 4fc9667

Browse files
Update internal/cmd/testatlas/atlas_test.go
Co-authored-by: Copilot <[email protected]>
1 parent 5b31916 commit 4fc9667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/testatlas/atlas_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func createAtlasX509DevCertKeyFile(t *testing.T) string {
199199
certBytes, err := base64.StdEncoding.DecodeString(b64)
200200
require.NoError(t, err, "failed to decode ATLAS_X509_DEV_CERT_BASE64")
201201

202-
certFilePath := t.TempDir() + "/atlas_x509_dev_cert.pem"
202+
certFilePath := filepath.Join(t.TempDir(), "atlas_x509_dev_cert.pem")
203203

204204
err = os.WriteFile(certFilePath, certBytes, 0600)
205205
require.NoError(t, err, "failed to write ATLAS_X509_DEV_CERT_BASE64 to file")

0 commit comments

Comments
 (0)