diff options
-rw-r--r-- | src/luarocks/fs/lua.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luarocks/fs/lua.lua b/src/luarocks/fs/lua.lua index e4c6ca05..7fe6c7f8 100644 --- a/src/luarocks/fs/lua.lua +++ b/src/luarocks/fs/lua.lua | |||
@@ -489,10 +489,10 @@ end | |||
489 | 489 | ||
490 | if unzip_ok then | 490 | if unzip_ok then |
491 | --- Uncompress files from a .zip archive. | 491 | --- Uncompress files from a .zip archive. |
492 | -- @param zipfile string: pathname of .zip archive to be extracted. | 492 | -- @param filename string: pathname of .zip archive to be extracted. |
493 | -- @return boolean: true on success, false on failure. | 493 | -- @return boolean: true on success, false on failure. |
494 | function fs_lua.unzip(zipfile) | 494 | function fs_lua.unzip(filename) |
495 | local zipfile, err = luazip.open(zipfile) | 495 | local zipfile, err = luazip.open(filename) |
496 | if not zipfile then return nil, err end | 496 | if not zipfile then return nil, err end |
497 | local files = zipfile:files() | 497 | local files = zipfile:files() |
498 | local file = files() | 498 | local file = files() |