Changeset

11884:248477e45c64

prosodyctl: Fix weird indentation
author Kim Alvefur <zash@zash.se>
date Sat, 06 Nov 2021 18:45:44 +0100
parents 11883:97aa4b2fe4e0
children 11885:197642f9972f
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Wed Nov 03 14:36:58 2021 +0100
+++ b/prosodyctl	Sat Nov 06 18:45:44 2021 +0100
@@ -19,8 +19,8 @@
 
 local function is_relative(path)
 	local path_sep = package.config:sub(1,1);
-        return ((path_sep == "/" and path:sub(1,1) ~= "/")
-	or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
+	return ((path_sep == "/" and path:sub(1,1) ~= "/")
+		or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
 end
 
 -- Tell Lua where to find our libraries