Software /
code /
prosody
Diff
util/datamanager.lua @ 7995:b99404a340fc
util.datamanager: Split long line [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Mar 2017 12:00:21 +0100 |
parent | 7929:4017ea6d2599 |
child | 7996:f4c0fb54e16c |
line wrap: on
line diff
--- a/util/datamanager.lua Wed Mar 22 10:38:36 2017 +0100 +++ b/util/datamanager.lua Wed Mar 22 12:00:21 2017 +0100 @@ -24,8 +24,10 @@ 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;