Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 26, 2024
1 parent 658b6a7 commit 2b0f8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/io/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Empty(path string) bool {

func Mv(src, dst string) error {
if err := os.Rename(src, dst); err != nil {
// 在不同的文件系统中无法使用os.Rename
// 在不同的文件系统中无法使用 os.Rename
if _, err = shell.Execf(`mv -f '%s' '%s'`, src, dst); err != nil {
return err
}
Expand Down

0 comments on commit 2b0f8a5

Please sign in to comment.