Skip to content

Commit

Permalink
Update ReviewConfig.elm: apply config = configAtmospheric ++ configUsers
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxcarlson committed Jul 10, 2024
1 parent 2e80134 commit 64ce192
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions preview/src/ReviewConfig.elm
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,21 @@ import Regex
import Review.Rule exposing (Rule)


{-
NOTES.
1. (FIX FAILED) Install.Initializer: Add cmds Time.now |> Task.perform GotFastTick,
MagicLink.Helper.getAtmosphericRandomNumbers to the model
(( I failed to apply the automatic fix because it resulted in the same source code. ))
See InitializerCmd.makeRule "Backend" "init" below
The error is a false positive, but it needs to be fixed.
-}

config =
configAtmospheric
configAtmospheric ++ configUsers



Expand Down Expand Up @@ -54,10 +67,10 @@ configAtmospheric =
, "GotFastTick Time.Posix" ]

--
-- , Initializer.makeRule "Backend" "init" [
-- { field = "randomAtmosphericNumbers", value = "Just [ 235880, 700828, 253400, 602641 ]" }
-- , { field = "time", value = "Time.millisToPosix 0" } ]
-- , InitializerCmd.makeRule "Backend" "init" [ "Time.now |> Task.perform GotFastTick", "MagicLink.Helper.getAtmosphericRandomNumbers" ]
, Initializer.makeRule "Backend" "init" [
{ field = "randomAtmosphericNumbers", value = "Just [ 235880, 700828, 253400, 602641 ]" }
, { field = "time", value = "Time.millisToPosix 0" } ]
, InitializerCmd.makeRule "Backend" "init" [ "Time.now |> Task.perform GotFastTick", "MagicLink.Helper.getAtmosphericRandomNumbers" ]


--
Expand Down

0 comments on commit 64ce192

Please sign in to comment.