From 8bc8b801816fbcaee5f1e575611a21cdbacd3556 Mon Sep 17 00:00:00 2001 From: locmark Date: Tue, 6 Feb 2024 13:24:37 +0100 Subject: [PATCH] typeclass check --- rostsd_gen/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rostsd_gen/index.js b/rostsd_gen/index.js index dbb9b647..352ca663 100644 --- a/rostsd_gen/index.js +++ b/rostsd_gen/index.js @@ -64,6 +64,7 @@ function getPkgInfos(rootDir) { for (let filename of files) { const typeClass = fileName2Typeclass(filename); + if (typeClass.type !== 'srv' && typeClass.type !== 'action' && typeClass.type !== 'msg') continue; if ( !typeClass.type || pkgFilters.matchesAny({