mirror of
https://github.com/Microsoft/vscode
synced 2024-07-05 01:08:57 +00:00
parent
6ef5dbec55
commit
3d3e502e72
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user