Commit 0ac5b57 1 parent 2529204 commit 0ac5b57 Copy full SHA for 0ac5b57
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ executable hub-settings
251
251
252
252
executable webservice
253
253
main-is : webservice.hs
254
- ghc-options : -Wall
254
+ ghc-options : -Wall -threaded
255
255
hs-source-dirs : web
256
256
default-language : Haskell2010
257
257
other-modules :
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ runTestServer port = do
32
32
-- Put this all to work!
33
33
main :: IO ()
34
34
main = do
35
- -- So real time logging works correctly.
35
+ -- So real time logging works correctly.
36
36
hSetBuffering stdout LineBuffering
37
37
args <- getArgs
38
38
case args of
39
39
[port] -> runTestServer $ read port
40
- _ -> runTestServer =<< read <$> getEnv " PORT"
40
+ _ -> runTestServer . read =<< getEnv " PORT"
You can’t perform that action at this time.
0 commit comments