mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
feat: push discover event to frontend
This commit is contained in:
1 parent
c0186c6a30
commit
096b7a7714
5 files changed
+33
-3
No files matched your search
@@ -33,7 +33,6 @@ async function collectFilesInfo(inputPath, level = 0, hiddenFiles = false) {
|
||||
}
|
||||
|
||||
async function discoverFiles(argv) {
|
||||
console.log(argv)
|
||||
const targetPath = argv._.length < 2 ? ['.'] : argv._.slice(1)
|
||||
const result = await Promise.all(
|
||||
targetPath
|
||||
|
||||
Reference in new issue
Block a user