-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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(lsp): regression - formatting was broken on windows #21972
Conversation
@@ -1046,20 +1052,18 @@ impl Inner { | |||
self.fmt_options = Default::default(); | |||
self.lint_options = Default::default(); | |||
if let Some(config_file) = self.get_config_file()? { | |||
// this doesn't need to be an actual directory because flags is specified as `None` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lies I wrote.
cli/args/mod.rs
Outdated
}; | ||
Some(files) | ||
}, | ||
include: maybe_files_config.include, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts this change I made. It shouldn't have been done from what I can tell atm
Edit: Tests failed on CI, so maybe not. Edit 2: Oh, it was used to get the base path. Edit 3: denoland/deno_config#31
Self { | ||
check: false, | ||
options: FmtOptionsConfig::default(), | ||
files: FilePatterns::new_with_base(base), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See explanation for this base
here: denoland/deno_config#31 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, no comments
Waiting on: denoland/deno_config#31Closes #21971
Closes denoland/vscode_deno#1029