Skip to content

Commit

Permalink
fix loadPath comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FLuzzi-csw committed Jan 16, 2024
1 parent c7528b1 commit ac1f43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executable.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func loadPath() (string, string, string, error) {
updateDir := filepath.Dir(exePath)
filename := filepath.Base(exePath)

// Copy the contents of newbinary to a new executable file
// get file paths to new and old executable file paths
newPath := filepath.Join(updateDir, fmt.Sprintf(".%s.new", filename))
oldPath := filepath.Join(updateDir, fmt.Sprintf(".%s.old", filename))
return exePath, oldPath, newPath, nil
Expand Down

0 comments on commit ac1f43a

Please sign in to comment.