Skip to content

Commit

Permalink
Remove absolute path from input file location
Browse files Browse the repository at this point in the history
Do not use absolute path when printing human readable location.
  • Loading branch information
HeavyWombat committed Jan 30, 2022
1 parent 5ead369 commit 148d4fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions input.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ func HumanReadableLocation(location string) string {
}

if _, err := os.Stat(location); err == nil {
if abs, err := filepath.Abs(location); err == nil {
location = abs
}

return bunt.Sprintf("*%s*", location)
}

Expand Down

0 comments on commit 148d4fa

Please sign in to comment.