Undo directory check in ClientFilesFinder
Upon further inspection, it seems that the workspace should never contain a directory, so it should be safe.pull/401/head
parent
93b5f5d209
commit
ff2191f765
|
@ -39,8 +39,7 @@ class ClientFilesFinder implements FilesFinder
|
|||
$uris = [];
|
||||
foreach ($textDocuments as $textDocument) {
|
||||
$path = Uri\parse($textDocument->uri)['path'];
|
||||
// Also exclude any directories that also match the glob pattern
|
||||
if (Glob::match($path, $glob) && !is_dir($path)) {
|
||||
if (Glob::match($path, $glob)) {
|
||||
$uris[] = $textDocument->uri;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue