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
commitd496a96705c14722455f85f40f38b17fc5470606 (patch)
tree8ea27d4d47f353ecf680031610abeca8132662ad
parent932c6e1f445a6c3ba33ffdd11ba96b6e3a8b98e8 (diff)
downloadprosody-d496a96705c14722455f85f40f38b17fc5470606.tar.gz
prosody-d496a96705c14722455f85f40f38b17fc5470606.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;