提交 7eafe5cb 编写于 作者: J JJ Kasper 提交者: Joe Haddad

Anchor TypeScript check to fix invalid detection (#7349)

上级 7612e03a
......@@ -28,7 +28,7 @@ function writeJson(fileName: string, object: object): Promise<void> {
async function verifyNoTypeScript(dir: string) {
const typescriptFiles = await recursiveReadDir(
dir,
/.*\.(ts|tsx)/,
/.*\.(ts|tsx)$/,
/(node_modules|.*\.d\.ts)/,
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册