Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
addresses #44
Browse files Browse the repository at this point in the history
  • Loading branch information
KJHJason committed Aug 20, 2023
1 parent 93c4817 commit c0bb388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func ReadLine(reader *bufio.Reader) ([]byte, error) {
func removeIllegalRuneInPath(r rune) rune {
if strings.ContainsRune("<>:\"/\\|?*\n\r\t", r) {
return '-'
} else if r == '.' {
return ','
}
return r
}
Expand Down

0 comments on commit c0bb388

Please sign in to comment.