Temporarily disable unlinked file popup

This commit is contained in:
Lukas Wirth 2024-04-13 22:45:22 +02:00
parent 8078c3d9e8
commit ff9ebc747d

View File

@ -131,7 +131,10 @@ export async function createClient(
? diag.code
: diag.code?.value;
if (
value === "unlinked-file" &&
// FIXME: We currently emit this diagnostic way too early, before we have
// loaded the project fully
// value === "unlinked-file" &&
value === "temporary-disabled" &&
!unlinkedFiles.includes(uri) &&
diag.message !== "file not included in module tree"
) {