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

🚑 - Monorepo hotfix #1035

Merged
merged 3 commits into from
Sep 3, 2024
Merged

🚑 - Monorepo hotfix #1035

merged 3 commits into from
Sep 3, 2024

Conversation

jfrolich
Copy link
Contributor

@jfrolich jfrolich commented Sep 3, 2024

No description provided.

"vscode-languageserver": "^8.0.1",
"vscode-languageserver-protocol": "^3.17.1"
}
"name": "@rescript/language-server",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for some reason this was tab formatted (and in the server it's spaces - I think spaces is more standard)

@@ -70,7 +69,7 @@ export let findProjectRootOfFile = (
} else {
const isDir = path.extname(source) === "";
return findProjectRootOfFileInDir(
isDir ? path.join(source, "dummy.res") : source
isDir && !allowDir ? path.join(source, "dummy.res") : source
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This caused the fix to not work :|

@jfrolich jfrolich requested a review from zth September 3, 2024 12:00
@zth
Copy link
Collaborator

zth commented Sep 3, 2024

You need to run npm install in both folders as well so the version is updated in the lockfile.

@jfrolich
Copy link
Contributor Author

jfrolich commented Sep 3, 2024

You need to run npm install in both folders as well so the version is updated in the lockfile.

🙈 done!

@zth zth merged commit fd91104 into rescript-lang:master Sep 3, 2024
6 checks passed
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