mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 21:07:03 +00:00
utils.file replace os.Remove with os.RemoveAll
This commit is contained in:
@@ -86,7 +86,7 @@ func downloadPackages() {
|
||||
// we don't exit on errors here.
|
||||
|
||||
// try to remove the unzipped folder
|
||||
utils.RemoveFile(installedDir)
|
||||
utils.RemoveFile(installedDir[0 : len(installedDir)-1])
|
||||
}
|
||||
|
||||
func createPackage(packageName string, targetDir string) error {
|
||||
|
||||
Reference in New Issue
Block a user