Skip to content

Commit

Permalink
Fix formatting for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic committed Feb 9, 2024
1 parent 07fd8e4 commit a9b4011
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions waspc/src/Wasp/Generator/SdkGenerator/WebSocketGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import qualified Wasp.Generator.WebSocket as AS.WS
genWebSockets :: AppSpec -> Generator [FileDraft]
genWebSockets spec
| AS.WS.areWebSocketsUsed spec =
sequence
[ genWebSocketServerIndex spec,
genFileCopy [relfile|client/webSocket/index.ts|],
genWebSocketProvider spec
]
sequence
[ genWebSocketServerIndex spec,
genFileCopy [relfile|client/webSocket/index.ts|],
genWebSocketProvider spec
]
| otherwise = return []
where
genFileCopy = return . C.mkTmplFd
Expand Down

0 comments on commit a9b4011

Please sign in to comment.