fix: ignore empty strings in semicolon
This commit is contained in:
parent
d8f5272947
commit
d228e8c984
@ -181,6 +181,7 @@ module System.Serverman.Utils ( App (..)
|
||||
|
||||
-- add a semicolon to end of each line in string
|
||||
semicolon :: String -> String
|
||||
semicolon [] = []
|
||||
semicolon text = unlines $ map (++ ";") (lines text)
|
||||
|
||||
-- create a block with the following format: `<name> {\n<content>\n}`
|
||||
|
Loading…
Reference in New Issue
Block a user