diff options
| author | jinke18 <[email protected]> | 2024-07-31 00:06:30 +0800 |
|---|---|---|
| committer | jinke18 <[email protected]> | 2024-07-31 00:06:30 +0800 |
| commit | 7fe987584a46e774bf6cf0b0d56a52b5fbcc85c7 (patch) | |
| tree | c0550591dd72000f5665f96d30502082b675751f | |
| parent | f469fe804aa5d3cbf89cd531c458b769913f4b92 (diff) | |
change coding style
| -rw-r--r-- | xmake/plugins/pack/nsis/main.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/plugins/pack/nsis/main.lua b/xmake/plugins/pack/nsis/main.lua index a22c1a071..d0777325f 100644 --- a/xmake/plugins/pack/nsis/main.lua +++ b/xmake/plugins/pack/nsis/main.lua @@ -268,9 +268,7 @@ function _pack_nsis(makensis, package) local specvars_values = {} io.gsub(specfile, "(" .. pattern .. ")", function(_, name) table.insert(specvars_names, name) - end, - {encoding="ansi"} - ) + end,{encoding="ansi"}) for _, name in ipairs(specvars_names) do name = name:trim() if specvars_values[name] == nil then @@ -290,9 +288,7 @@ function _pack_nsis(makensis, package) io.gsub(specfile, "(" .. pattern .. ")", function(_, name) name = name:trim() return specvars_values[name] - end, - {encoding="ansi"} - ) + end, {encoding="ansi"}) -- make package os.vrunv(makensis, {specfile}) |
