mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-12 22:26:15 -04:00
Improve code
This commit is contained in:
parent
4176b1b168
commit
954d92e932
4 changed files with 14 additions and 19 deletions
4
utils.go
4
utils.go
|
@ -11,7 +11,7 @@ func isThisDecryptedFile(path string) bool {
|
|||
}
|
||||
|
||||
func doDeleteEncryptedContents(path string) error {
|
||||
err := filepath.Walk(path, func(filePath string, info os.FileInfo, err error) error {
|
||||
return filepath.Walk(path, func(filePath string, info os.FileInfo, err error) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -22,6 +22,4 @@ func doDeleteEncryptedContents(path string) error {
|
|||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue