From 6ac61ffda7efeb31a48bec3dd72d8c009ac13255 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Wed, 8 Jan 2025 16:01:15 +0200 Subject: [PATCH] Update artifactory/commands/dotnet/dotnetcommand_test.go Co-authored-by: Yahav Itschak --- artifactory/commands/dotnet/dotnetcommand_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifactory/commands/dotnet/dotnetcommand_test.go b/artifactory/commands/dotnet/dotnetcommand_test.go index 2651af90f..0fa00975e 100644 --- a/artifactory/commands/dotnet/dotnetcommand_test.go +++ b/artifactory/commands/dotnet/dotnetcommand_test.go @@ -297,7 +297,7 @@ func TestCreateConfigFileIfNeeded(t *testing.T) { t.Run(tt.name, func(t *testing.T) { configPath := filepath.Join(t.TempDir(), tt.configPath) if tt.fileExists { - assert.NoError(t, os.MkdirAll(filepath.Dir(configPath), 0777)) + assert.NoError(t, os.MkdirAll(filepath.Dir(configPath), os.ModePerm)) assert.NoError(t, os.WriteFile(configPath, []byte{}, 0644)) } err := CreateConfigFileIfNeeded(configPath)