mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 11:27:06 +00:00
Developers can ignore this update. Use of go-websocket and go-errors. Zero front-end changes. No real improvements.
This commit is contained in:
@@ -166,7 +166,7 @@ func Unzip(archive string, target string) (string, error) {
|
||||
|
||||
// RemoveFile removes a file or directory and returns an error, if any
|
||||
func RemoveFile(filePath string) error {
|
||||
return ErrFileRemove.With(os.RemoveAll(filePath))
|
||||
return ErrFileRemove.Format(os.RemoveAll(filePath))
|
||||
}
|
||||
|
||||
// Install is just the flow of: downloadZip -> unzip -> removeFile(zippedFile)
|
||||
|
||||
Reference in New Issue
Block a user