Skip to content

Commit 9967f6e

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

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
@@ -216,7 +216,7 @@ func createAtlasX509DevCertKeyFileNoUser(t *testing.T) string {
216216
keyBytes, err := base64.StdEncoding.DecodeString(b64)
217217
require.NoError(t, err, "failed to decode ATLAS_X509_DEV_CERT_NOUSER_BASE64")
218218

219-
keyFilePath := t.TempDir() + "/atlas_x509_dev_cert_no_user.pem"
219+
keyFilePath := filepath.Join(t.TempDir(), "atlas_x509_dev_cert_no_user.pem")
220220

221221
err = os.WriteFile(keyFilePath, keyBytes, 0600)
222222
require.NoError(t, err, "failed to write ATLAS_X509_DEV_CERT_NOUSER_BASE64 to file")

0 commit comments

Comments
 (0)