fix: double indent
This commit is contained in:
parent
4e423dcff3
commit
9311e349cb
@ -80,7 +80,7 @@ module System.Serverman.Actions.Nginx (nginx) where
|
|||||||
let statement = "include " ++ target ++ "/*;"
|
let statement = "include " ++ target ++ "/*;"
|
||||||
|
|
||||||
when (not (statement `isInfixOf` content)) $ do
|
when (not (statement `isInfixOf` content)) $ do
|
||||||
let newContent = appendAfter content "http {" (" " ++ statement)
|
let newContent = appendAfter content "http {" (indent . indent $ statement)
|
||||||
|
|
||||||
writeFile path newContent
|
writeFile path newContent
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user