We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc9667 commit 9967f6eCopy full SHA for 9967f6e
internal/cmd/testatlas/atlas_test.go
@@ -216,7 +216,7 @@ func createAtlasX509DevCertKeyFileNoUser(t *testing.T) string {
216
keyBytes, err := base64.StdEncoding.DecodeString(b64)
217
require.NoError(t, err, "failed to decode ATLAS_X509_DEV_CERT_NOUSER_BASE64")
218
219
- keyFilePath := t.TempDir() + "/atlas_x509_dev_cert_no_user.pem"
+ keyFilePath := filepath.Join(t.TempDir(), "atlas_x509_dev_cert_no_user.pem")
220
221
err = os.WriteFile(keyFilePath, keyBytes, 0600)
222
require.NoError(t, err, "failed to write ATLAS_X509_DEV_CERT_NOUSER_BASE64 to file")
0 commit comments