Skip to content

Commit

Permalink
Bf: revert format by haskell, use ormolu
Browse files Browse the repository at this point in the history
  • Loading branch information
FranjoMindek committed Mar 10, 2025
1 parent 9bfbcab commit 40ba6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waspc/src/Wasp/Generator/DbGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ generatePrismaClient spec projectRootDir = do
generatePrismaClientIfEntitiesExist :: IO (Maybe GeneratorError)
generatePrismaClientIfEntitiesExist
| entitiesExist =
either (Just . GenericGeneratorError) (const Nothing) <$> DbOps.generatePrismaClient projectRootDir
either (Just . GenericGeneratorError) (const Nothing) <$> DbOps.generatePrismaClient projectRootDir
| otherwise = return Nothing

entitiesExist = not . null $ getEntities spec
Expand Down

0 comments on commit 40ba6b1

Please sign in to comment.