diff --git a/src/hooks/project.hooks.ts b/src/hooks/project.hooks.ts index 7c6eca5..e3de701 100644 --- a/src/hooks/project.hooks.ts +++ b/src/hooks/project.hooks.ts @@ -184,7 +184,10 @@ export function useProjectActions() { let filesToProcess = [file?.path]; projectFiles(projectId).forEach((f) => { - if (f.name.includes('.tact') && !filesToProcess.includes(f.path)) { + if ( + /\.(tact|fc|func)$/.test(f.name) && + !filesToProcess.includes(f.path) + ) { filesToProcess.push(f.path); } });