diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-22 12:00:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-22 12:00:21 +0100 |
commit | c92972b13763ff524e8935aa001be2c94dad113f (patch) | |
tree | 8ea27d4d47f353ecf680031610abeca8132662ad /util/datamanager.lua | |
parent | 8933b2ac06f8b50d71fb997f0371a82a2b8b7362 (diff) | |
download | prosody-c92972b13763ff524e8935aa001be2c94dad113f.tar.gz prosody-c92972b13763ff524e8935aa001be2c94dad113f.zip |
util.datamanager: Split long line [luacheck]
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r-- | util/datamanager.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 2b47c3c4..d0a81e71 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -24,8 +24,10 @@ local t_insert = table.insert; local t_concat = table.concat; local envloadfile = require"util.envload".envloadfile; local serialize = require "util.serialization".serialize; -local path_separator = assert ( package.config:match ( "^([^\n]+)" ) , "package.config not in standard form" ) -- Extract directory seperator from package.config (an undocumented string that comes with lua) local lfs = require "lfs"; +-- Extract directory seperator from package.config (an undocumented string that comes with lua) +local path_separator = assert ( package.config:match ( "^([^\n]+)" ) , "package.config not in standard form" ) + local prosody = prosody; local raw_mkdir = lfs.mkdir; |