Skip to content

Commit

Permalink
Mere presence of PREVIEW= doesn't indicate preview, PREVIEW=false for…
Browse files Browse the repository at this point in the history
… example
  • Loading branch information
supermario committed Apr 11, 2024
1 parent 509d8ee commit 3eb1706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/Lamdera/CLI/Check.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3eb1706

Please sign in to comment.