Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic committed Sep 11, 2024
1 parent 78b2be9 commit 0253937
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 0253937

Please sign in to comment.