Fix Cargo.toml change detection
This commit is contained in:
parent
21a1ced8b6
commit
8875f2c8aa
@ -186,9 +186,9 @@ impl GlobalState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for file in changed_files {
|
for file in changed_files {
|
||||||
if file.is_created_or_deleted() {
|
|
||||||
if let Some(path) = vfs.file_path(file.file_id).as_path() {
|
if let Some(path) = vfs.file_path(file.file_id).as_path() {
|
||||||
fs_changes.push((path.to_path_buf(), file.change_kind));
|
fs_changes.push((path.to_path_buf(), file.change_kind));
|
||||||
|
if file.is_created_or_deleted() {
|
||||||
has_fs_changes = true;
|
has_fs_changes = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user