diff --git a/extra/Lamdera/CLI/Check.hs b/extra/Lamdera/CLI/Check.hs index c3c488e3..4414695e 100644 --- a/extra/Lamdera/CLI/Check.hs +++ b/extra/Lamdera/CLI/Check.hs @@ -120,7 +120,7 @@ runHelp () flags@(Lamdera.CLI.Check.Flags destructiveMigration force) = do appName <- Lamdera.Project.appNameOrThrow (localTypes, externalTypeWarnings) <- getLocalInfo - if isPreviewBuild /= Nothing + if isPreviewBuild == Just "true" then do buildFirstDeploy root inProduction_ appName externalTypeWarnings