mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Added CHECKPOINT_DISABLE=1 to Wasp CLI to prevent Prisma errors (#2089)
* Update Main.hs * fix
This commit is contained in:
parent
3679ab6ed4
commit
ea0a0d98cd
@ -142,7 +142,13 @@ setDefaultCliEnvVars = do
|
|||||||
mapM_ (uncurry Env.setEnv) cliEnvVars
|
mapM_ (uncurry Env.setEnv) cliEnvVars
|
||||||
where
|
where
|
||||||
cliEnvVars :: [(String, String)]
|
cliEnvVars :: [(String, String)]
|
||||||
cliEnvVars = [("PRISMA_HIDE_UPDATE_MESSAGE", "true")]
|
cliEnvVars =
|
||||||
|
[ ("PRISMA_HIDE_UPDATE_MESSAGE", "true"),
|
||||||
|
-- NOTE: We were getting errors from Prisma v4 related to their Checkpoint system
|
||||||
|
-- (which checks for updates that we don't want anyway), so now by default
|
||||||
|
-- we turn it off. Once we switch to Prisma v5, try removing this.
|
||||||
|
("CHECKPOINT_DISABLE", "1")
|
||||||
|
]
|
||||||
|
|
||||||
{- ORMOLU_DISABLE -}
|
{- ORMOLU_DISABLE -}
|
||||||
printUsage :: IO ()
|
printUsage :: IO ()
|
||||||
|
Loading…
Reference in New Issue
Block a user