Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix console.assert #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix console.assert #329

wants to merge 1 commit into from

Conversation

nikolai-cc
Copy link
Contributor

@nikolai-cc nikolai-cc commented Apr 26, 2022

Console.assert should only log when its first variable is false. In the current situation it logs to the in-REPL console only in the true case.

I renamed the variable to better reflect what its doing (thinking about it as an assertion rather than a condition hints at its use).

Console.assert should only log when its first variable is false. In the current situation it logs only in the wrong case. I renamed the variable to better reflect what it's doing (thinking about it as an assertion rather than a condition hints at it's use).
@vercel
Copy link

vercel bot commented Apr 26, 2022

@nikolai-cc is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Apr 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
hn ✅ Ready (Inspect) Visit Preview Aug 18, 2022 at 9:19PM (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview Aug 18, 2022 at 9:19PM (UTC)

@MarvinMiles
Copy link

Why this is still not merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants