Skip to content

Commit

Permalink
-替换为空格
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiming748 committed Feb 13, 2024
1 parent b0d1918 commit d70b86b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
3 changes: 3 additions & 0 deletions replace/filename.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ func ForFileName(name string) string {
return nStr
}
func Effective(s string) bool {
if s == "-" {
s = " "
}
if s == " " {
return true
}
Expand Down
18 changes: 0 additions & 18 deletions unit_test.go

This file was deleted.

0 comments on commit d70b86b

Please sign in to comment.