Software /
code /
prosody
Changeset
10198:83541f0ff14f
core.configmanager: Added support to 'complement_lua_path'
author | João Duarte <jvsDuarte08@gmail.com> |
---|---|
date | Thu, 01 Aug 2019 09:21:10 -0700 |
parents | 10197:91085371cfc5 |
children | 10199:72afd4ed8ac9 |
files | core/configmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/configmanager.lua Thu Aug 01 09:12:28 2019 -0700 +++ b/core/configmanager.lua Thu Aug 01 09:21:10 2019 -0700 @@ -15,6 +15,7 @@ local deps = require"util.dependencies"; local resolve_relative_path = require"util.paths".resolve_relative_path; local glob_to_pattern = require"util.paths".glob_to_pattern; +local complement_lua_path = require"util.paths".complement_lua_path; local path_sep = package.config:sub(1,1); local get_traceback_table = require "util.debug".get_traceback_table; @@ -26,6 +27,7 @@ -- luacheck: std none _M.resolve_relative_path = resolve_relative_path; -- COMPAT +_M.complement_lua_path = complement_lua_path; local parser = nil;