fix: missing semicolon
This commit is contained in:
parent
b8fe5c304e
commit
4e423dcff3
@ -77,7 +77,7 @@ module System.Serverman.Actions.Nginx (nginx) where
|
|||||||
writeIncludeStatementIfMissing path target = do
|
writeIncludeStatementIfMissing path target = do
|
||||||
content <- readFile path
|
content <- readFile path
|
||||||
|
|
||||||
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 {" (" " ++ statement)
|
||||||
|
Loading…
Reference in New Issue
Block a user