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

feat: add go.sum and go.work to Go detection #6069

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

Conversation

BoscoDomingo
Copy link

@BoscoDomingo BoscoDomingo commented Jan 3, 2025

Prerequisites

  • I have read and understood the contributing guide.
  • The commit message follows the conventional commits guidelines.
  • Tests for the changes have been added (for bug fixes / features).
  • Docs have been added/updated (for bug fixes / features).

Description

This enables Go when go.work and go.sum files are present in the current directory.

Before:
image

After:
image

It's taking my global Go version instead of the one in go.work, but I believe it's due to caching (tests work as expected)

The RegEx in action:
Screenshot 2025-01-03 175047

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.

1 participant