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: oss with multi-module projects #401

Conversation

bastiandoetsch
Copy link
Contributor

@bastiandoetsch bastiandoetsch commented Nov 24, 2023

Description

TL;DR: This fixes the display and navigation in the custom UI for Snyk Open Source in multi-module repositories.

Previously, the folder path was assumed to be the parent directory of the package manager manifest file. This is incorrect for multi-module projects, where the opened folder is much higher in the file tree. This PR fixes this, by taking the folder path not from the issue, but from the actual folder configuration.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@bastiandoetsch bastiandoetsch requested a review from a team as a code owner November 24, 2023 16:54
@bastiandoetsch bastiandoetsch merged commit 274027a into feat/HEAD-78_oss_via_ls Nov 27, 2023
6 checks passed
@bastiandoetsch bastiandoetsch deleted the fix/HEAD-1066_fix-navigation-in-multi-module-projects branch November 27, 2023 09:36
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.

2 participants