[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] I used npm run format for formatting the code before submitting the pull request.
Projects in Go that involve embedded files encounter an error when attempting to construct the dependency tree.
The issue place in how we convert all "replace" labels in the go.mod file from relative to absolute paths before gathering dependencies for all projects. During this process, we exclude any files that do not have a ".go" extension. Consequently, this exclusion results in missing embedded files, leading to an error when using the "go list" command.
As a solution, we restrict the exclusion to specific, well-known folders that are safe to omit, such as "testdata" or ".git."
[ ] I used
npm run format
for formatting the code before submitting the pull request.Projects in Go that involve embedded files encounter an error when attempting to construct the dependency tree. The issue place in how we convert all "replace" labels in the go.mod file from relative to absolute paths before gathering dependencies for all projects. During this process, we exclude any files that do not have a ".go" extension. Consequently, this exclusion results in missing embedded files, leading to an error when using the "go list" command.
As a solution, we restrict the exclusion to specific, well-known folders that are safe to omit, such as "testdata" or ".git."
Fix https://github.com/jfrog/jfrog-vscode-extension/issues/372