Fix logical error
This commit is contained in:
parent
dcb27df1fc
commit
fed3f0c0fa
@ -52,12 +52,10 @@ fromArgsWith load = do
|
|||||||
|
|
||||||
config <- load env
|
config <- load env
|
||||||
|
|
||||||
let c = if port args /= 0
|
return $ if port args /= 0
|
||||||
then config { appPort = port args }
|
then config { appPort = port args }
|
||||||
else config
|
else config
|
||||||
|
|
||||||
return $ config
|
|
||||||
|
|
||||||
where
|
where
|
||||||
argConfig :: ArgConfig
|
argConfig :: ArgConfig
|
||||||
argConfig = ArgConfig
|
argConfig = ArgConfig
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user