ignore .js files in type checker (#1108)

makes stuff like #1085 not fail
This commit is contained in:
Alex Johansson
2021-11-02 16:04:25 +02:00
committed by GitHub
parent 68e062c100
commit 5a25e6daee
+2 -1
View File
@@ -7,7 +7,8 @@ const files = diff
.trim()
.split("\n")
.map((file) => file.trim())
.filter(Boolean);
.filter(Boolean)
.filter((file) => file.endsWith(".ts") || file.endsWith(".tsx"));
console.log("️ Changed files:");
console.log(files.map((str) => ` - ${str}`).join("\n"));