Remove unused errors

This commit is contained in:
2025-06-01 13:53:29 -04:00
parent 799fafafe9
commit d6820580d9
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func CreateTempFile() (*os.File, error) {
return tempFile, nil
}
// ExpandPathWithHome, given a path (as a string) containing "~", returns the path with "~" expanded to the user's home directory.
// ExpandPathWithHome returns the given path with "~" expanded to the user's home directory.
func ExpandPathWithHome(path string) string {
return strings.Replace(path, "~", Home, 1)
}