Skip to content

Commit

Permalink
fix refrences in extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Sep 26, 2024
1 parent 8b3de96 commit 916b221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/eli/elify.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--[[ // TODO consider implications of merging proc with os and fs with io ]]
local _elified = false
local _overridenValues = {}
local util = require"eli.util"

local function _elify()
if (_elified) then
Expand Down
4 changes: 2 additions & 2 deletions lib/eli/extensions/string.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function es.split(s, sep, trim)
local _result = {}
for str in string.gmatch(s, "([^" .. sep .. "]+)") do
if trim then
str = _trim(str)
str = es.trim(str)
end
table.insert(_result, str)
end
Expand Down Expand Up @@ -74,7 +74,7 @@ function es.join_strings(separator, ...)
table.insert(_tmp, v)
end
end
return _join(separator, table.unpack(_tmp))
return es.join(separator, table.unpack(_tmp))
end

---#DES string.interpolate
Expand Down

0 comments on commit 916b221

Please sign in to comment.