Skip to content

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Apr 7, 2025

This PR removes all instances of console.log that we can from our code base. From there, we should be able to add a pre-commit hook that disallows the string console.log. That's fairly extreme but I'm sick of accidentally checking these in myself 🤦

Places where they remain:

  • Code that isn't ours:
    • src/vendor
    • src/resources/vendor
  • Code that doesn't run in our binaries
    • package
    • tests
    • tools

In some places we want console output. For that, we have the debugPrint function, and we can always use the awkward syntax console["log"], etc.

@cscheid cscheid added this to the v1.8 milestone Apr 15, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Apr 29, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@cscheid cscheid added the early-in-release An issue that should be worked on early in the release (likely due to risk) label May 13, 2025
@cscheid cscheid modified the milestones: v1.8, v1.9 Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
early-in-release An issue that should be worked on early in the release (likely due to risk)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants