diff util/human/units.lua @ 12589:39ae08180c81

compat: Remove handling of Lua 5.1 location of 'unpack' function
author Kim Alvefur <zash@zash.se>
date Mon, 11 Jul 2022 19:07:38 +0200
parents 0f4feaf9ca64
children
line wrap: on
line diff
--- a/util/human/units.lua	Mon Jul 11 17:32:13 2022 +0200
+++ b/util/human/units.lua	Mon Jul 11 19:07:38 2022 +0200
@@ -4,7 +4,7 @@
 local math_log = math.log;
 local math_max = math.max;
 local math_min = math.min;
-local unpack = table.unpack or unpack; --luacheck: ignore 113
+local unpack = table.unpack;
 
 local large = {
 	"k", 1000,