diff options
| author | ruki <[email protected]> | 2024-01-10 00:54:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-10 00:54:18 +0800 |
| commit | eb90591a3962ae0d03115577b3b60bf9f376e606 (patch) | |
| tree | df1c432a4d279dfc3d70da55c2eb7ada3a6a6735 | |
| parent | 41b348d3cc68845e121aa489c4b20fb06026cfe8 (diff) | |
improve require lock #4591
| -rw-r--r-- | xmake/modules/private/action/require/impl/lock_packages.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/lock_packages.lua b/xmake/modules/private/action/require/impl/lock_packages.lua index 6a962ba77..bbda552b7 100644 --- a/xmake/modules/private/action/require/impl/lock_packages.lua +++ b/xmake/modules/private/action/require/impl/lock_packages.lua @@ -66,7 +66,7 @@ function main(packages) local packagelock_key = _get_packagelock_key(instance) results[key][packagelock_key] = _lock_package(instance) end - io.writefile(project.requireslock(), string.serialize(results, {orderkeys = true})) + io.writefile(project.requireslock(), string.serialize(results, {orderkeys = true}), {encoding = "binary"}) end end |
