aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-01 14:50:59 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-01 21:32:40 -0300
commit65c417e0ecda55f44c691df032163a8c08f0b52a (patch)
tree6358f4073055afcc8bf86f2d4e077006e8f631ac /README.md
parenteec12737d4003f3078134468215d4c16fb36c2be (diff)
downloadluarocks-65c417e0ecda55f44c691df032163a8c08f0b52a.tar.gz
luarocks-65c417e0ecda55f44c691df032163a8c08f0b52a.tar.bz2
luarocks-65c417e0ecda55f44c691df032163a8c08f0b52a.zip
path, loader: handle coexisting foo.bar and foo.bar.init modules
LuaRocks used to conflate in its manifest two modules whose names only differed by ".init" (e.g. "foo.bar" and "foo.bar.init"). With this change, `path.path_to_modules` treats them as distinct modules, and `luarocks.loader` handles them correctly (given `require("foo.bar")`, it looks for `foo.bar` first and then `foo.bar.init` next).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions