From 223fd0108a0355806209a2f75002e0b8b93423cb Mon Sep 17 00:00:00 2001 From: enpitsulin Date: Mon, 16 Nov 2026 21:36:19 +0800 Subject: [PATCH] fix(compiler): skip directories marked with .gdignore --- src/compiler/typescript_project_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/typescript_project_compiler.cpp b/src/compiler/typescript_project_compiler.cpp index 1dd8ddd..4b7fda6 100644 --- a/src/compiler/typescript_project_compiler.cpp +++ b/src/compiler/typescript_project_compiler.cpp @@ -171,7 +171,7 @@ bool should_skip_directory(const String &directory_path) { return true; } } - return false; + return FileAccess::file_exists(directory_path.path_join(".gdignore")); } Dictionary make_error_diagnostic(const String &message, const String &file_path = String()) {