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

LSP: Fix Double Use of notebook.RelPath #246

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

bibor
Copy link
Contributor

@bibor bibor commented Jul 14, 2022

Solves a bug introduced in PR #245. Discussion in #243.

notebook.RelPath() is called on a already relative path from the root. This causes a new, wrong relative path, because it is calculated from the note's paths.

Copy link
Member

@mickael-menu mickael-menu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bibor Thanks for spotting and fixing this!

Time to get started with automated tests on the LSP server...

@mickael-menu mickael-menu changed the base branch from main to fix/gh-pages July 15, 2022 07:18
@mickael-menu mickael-menu changed the base branch from fix/gh-pages to main July 15, 2022 07:18
@mickael-menu
Copy link
Member

I amended your commit without change, somehow GitHub actions were stuck.

@mickael-menu mickael-menu merged commit ab1d8fd into zk-org:main Jul 15, 2022
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