Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update command/device/provision.go
Co-authored-by: Giuseppe Lumia <g.lumia@outlook.com>
  • Loading branch information
2 people authored and polldo committed Dec 10, 2021
commit 3d52d25d548c31ce7991159bde51afb2721359c0
3 changes: 2 additions & 1 deletion command/device/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ func downloadProvisioningFile(fqbn string) (string, error) {
return "", fmt.Errorf("downloading provisioning binary: %w", err)
}

// Save provision binary always in the same temporary folder
// Save provision binary always in the same temporary folder to
// avoid wasting user's storage.
filename := filepath.Base(bin.URL)
path := paths.TempDir().Join("cloud-cli").Join(filename)
path.Parent().MkdirAll()
Expand Down