From b54522cf61b3c5508f7b83d7e0fb471f6de9e00a Mon Sep 17 00:00:00 2001 From: James Bronder <36022278+jbronder@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:06:18 -0800 Subject: [PATCH] fix(_tools): fix regex match to extract mod.ts files (#6330) --- _tools/check_mod_exports.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tools/check_mod_exports.ts b/_tools/check_mod_exports.ts index 1f73c86a1a9e..1e0f41978b00 100644 --- a/_tools/check_mod_exports.ts +++ b/_tools/check_mod_exports.ts @@ -16,7 +16,7 @@ for await ( const { path: modFilePath } of walk(ROOT, { includeDirs: true, exts: ["ts"], - match: [/mod\.ts$/], + match: [/\/mod\.ts$/], maxDepth: 2, }) ) {