oopoop
parent
c17e61a6ca
commit
9539d54145
|
|
@ -77,7 +77,7 @@ func rename(oldpath, newpath string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if err := os.WriteFile(b, newpath, os.ModePerm); err != nil {
|
||||
if err := os.WriteFile(newpath, b, os.ModePerm); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue