From 6edbeda04163be0a6e12c41018bfd3fe87ba70bd Mon Sep 17 00:00:00 2001 From: Caleb Kiage <747955+calebkiage@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:22:46 +0300 Subject: Sort manifest keys on save for easier diffing when troubleshooting --- xmake/core/package/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1