refactor: replace "folder" with "directory" across file handling components and tests

This commit is contained in:
Justin Lin committed 2025-04-24 21:24:55 +08:00
1 parent 7e50c8e06c
commit cdd22634e0
18 files changed
+150 -104

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ async function collectFilesInfo(inputPath, level = 0, hiddenFiles = false) {
{
path: inputPath,
name,
type: stats.isDirectory() ? 'folder' : 'file',
type: stats.isDirectory() ? 'directory' : 'file',
discovered,
},
]