Skip to content

Commit 27f9d4c

Browse files
committed
Remove unused let-ins
1 parent fbbef52 commit 27f9d4c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

extra/Lamdera/Injection.hs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,6 @@ source mode mains =
166166

167167
injections :: OutputType -> Text
168168
injections outputType =
169-
let
170-
previousVersionInt =
171-
-- @TODO maybe its time to consolidate the global config...
172-
(unsafePerformIO $ lookupEnv "VERSION")
173-
& maybe "0" id
174-
& read
175-
& subtract 1
176-
177-
previousVersion = show_ previousVersionInt
178-
in
179169
case outputType of
180170
-- NotLamdera was added when we fixed the hot loading of a new app version in the browser.
181171
-- The frontend version of the injections – which used to be what you got when using the

0 commit comments

Comments
 (0)