Skip to content

Commit

Permalink
feat: updated checkAndCreateDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-exp committed Jan 12, 2024
1 parent a15cb45 commit fdff04f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helper/DockerHelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,7 @@ func installAllSupportedPlatforms() error {
}

func checkAndCreateDirectory(localCachePath string) error {
makeDirCmd := "mkdir -p " + localCachePath
pathCreateCommand := exec.Command("/bin/sh", "-c", makeDirCmd)
pathCreateCommand := exec.Command("/bin/sh", "-c", "mkdir", "-pv", localCachePath)
err := util.RunCommand(pathCreateCommand)
if err != nil {
log.Println(err)
Expand Down

0 comments on commit fdff04f

Please sign in to comment.