mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Merge pull request #6055 from tm1000/patch-1
didChangeWatchedFiles should continue not return
This commit is contained in:
commit
d505a692e1
@ -53,15 +53,15 @@ class Workspace
|
||||
|
||||
if ($change->type === FileChangeType::DELETED) {
|
||||
$this->codebase->invalidateInformationForFile($file_path);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$this->codebase->config->isInProjectDirs($file_path)) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($this->onchange_line_limit === 0) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
//If the file is currently open then dont analyse it because its tracked by the client
|
||||
|
Loading…
Reference in New Issue
Block a user