diff options
| author | ruki <[email protected]> | 2022-05-10 23:53:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-10 23:53:09 +0800 |
| commit | 815f15d955b3595349efd1429abbb9119b0fb043 (patch) | |
| tree | d5a893d51c55cf4c5aa5a86e85fb6470b990aa12 | |
| parent | b202e67144520e99dd748b0cac66c78520ffd617 (diff) | |
improve lz4 errors
| -rw-r--r-- | xmake/core/compress/lz4.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/compress/lz4.lua b/xmake/core/compress/lz4.lua index e228494ce..3c1918ab5 100644 --- a/xmake/core/compress/lz4.lua +++ b/xmake/core/compress/lz4.lua @@ -87,7 +87,7 @@ end function lz4.decompress_file(srcpath, dstpath, opt) local ok, errors = lz4._decompress_file(tostring(srcpath), tostring(dstpath)) if not ok then - errors = string.format("compress file %s failed!", srcpath, errors or os.strerror() or "unknown") + errors = string.format("decompress file %s failed!", srcpath, errors or os.strerror() or "unknown") end return ok, errors end |
