summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 21842b51f..8c86d0abb 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -919,7 +919,7 @@ function _instance:manifest_save()
end
-- save manifest
- local ok, errors = io.save(self:manifest_file(), manifest)
+ local ok, errors = io.save(self:manifest_file(), manifest, { orderkeys = true })
if not ok then
os.raise(errors)
end