Allow ts files for gulp tasks

Fixes #136418
This commit is contained in:
Alex Ross 2021-11-05 10:56:25 +01:00
parent 6ef5dbec55
commit 3d3e502e72
No known key found for this signature in database
GPG Key ID: 89DDDBA66CBA7840

View File

@ -179,7 +179,7 @@ class FolderDetector {
for (const filename of await fs.promises.readdir(root)) {
const ext = path.extname(filename);
if (ext !== '.js' && ext !== '.mjs' && ext !== '.cjs') {
if (ext !== '.js' && ext !== '.mjs' && ext !== '.cjs' && ext !== '.ts') {
continue;
}