1
0
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:
Makis Maropoulos
2016-06-03 16:17:15 +03:00
parent 8fd5830e2c
commit d99c15592e
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {