Skip to content

Commit

Permalink
Update artifactory/commands/dotnet/dotnetcommand_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itschak <yahavi@users.noreply.github.com>
  • Loading branch information
sverdlov93 and yahavi authored Jan 8, 2025
1 parent 0c20c77 commit 6ac61ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifactory/commands/dotnet/dotnetcommand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6ac61ff

Please sign in to comment.