Skip to content

Commit

Permalink
fix file.go
Browse files Browse the repository at this point in the history
Signed-off-by: aknishid <[email protected]>
  • Loading branch information
aknishid committed Mar 13, 2023
1 parent 3ab5a60 commit 07531b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ func DeleteDir(ctx context.Context, path string) (err error) {
return err
}
eg.Go(safety.RecoverFunc(func() (err error) {
_, err = os.Delete(childPath)
_, err = os.Remove(childPath)
return err
}))
return nil
Expand Down

0 comments on commit 07531b4

Please sign in to comment.