Skip to content

Conversation

@MartinSStewart
Copy link
Member

Now when running lamdera deploy or lamdera check, Lamdera no longer requires the user to remove their debug logs, commit, and then try again (before then most likely reverting the commit once the deploy is done).

Additionally, the compiler will show an error if the user writes the following code:

_ = Debug.log "abc"

image

Note that this error doesn't appear with just _ = Debug.log or with a = Debug.log "abc". For _ = Debug.log I just don't think this mistake happens often enough to justify checking for it. And as for a = Debug.log "abc", it's possible that the user could reference this code. Verifying that a is dead code is beyond my expertise.

@supermario supermario force-pushed the debug-log-in-deploy branch from d06c952 to 1145179 Compare April 29, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants