aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-22 12:00:21 +0100
committerKim Alvefur <zash@zash.se>2017-03-22 12:00:21 +0100
commitc92972b13763ff524e8935aa001be2c94dad113f (patch)
tree8ea27d4d47f353ecf680031610abeca8132662ad
parent8933b2ac06f8b50d71fb997f0371a82a2b8b7362 (diff)
downloadprosody-c92972b13763ff524e8935aa001be2c94dad113f.tar.gz
prosody-c92972b13763ff524e8935aa001be2c94dad113f.zip
util.datamanager: Split long line [luacheck]
-rw-r--r--util/datamanager.lua4
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;