mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Fix Cargo.toml change detection
This commit is contained in:
parent
21a1ced8b6
commit
8875f2c8aa
1 changed files with 3 additions and 3 deletions
|
@ -186,9 +186,9 @@ impl GlobalState {
|
|||
}
|
||||
|
||||
for file in changed_files {
|
||||
if file.is_created_or_deleted() {
|
||||
if let Some(path) = vfs.file_path(file.file_id).as_path() {
|
||||
fs_changes.push((path.to_path_buf(), file.change_kind));
|
||||
if file.is_created_or_deleted() {
|
||||
has_fs_changes = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue