Page MenuHomeFreeBSD

D61843.1795297821.diff
No OneTemporary

Authored By
Unknown
Size
739 B
Referenced Files
None
Subscribers
None

D61843.1795297821.diff

diff --git a/stand/lua/config.lua b/stand/lua/config.lua
--- a/stand/lua/config.lua
+++ b/stand/lua/config.lua
@@ -538,7 +538,7 @@
return silent
end
- if name:match(".lua$") then
+ if name:match("%.lua$") then
local cfg_env = setmetatable({}, {
indices = {},
__index = function(env, key)
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -77,7 +77,7 @@
-- to treat this like it would require() and specify just the
-- base filename, or they know what they're doing as they've
-- specified an absolute path and we shouldn't impede.
- if module:match(".lua$") == nil then
+ if module:match("%.lua$") == nil then
module = module .. ".lua"
end
end

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 21, 9:50 PM (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41896154
Default Alt Text
D61843.1795297821.diff (739 B)

Event Timeline