update tree.ts
This commit is contained in:
@@ -1,8 +1,21 @@
|
||||
#!/usr/bin/env runts -- --allow-read --allow-import
|
||||
|
||||
import {formatSize2, joinPath, log, term,} from "https://global.hatter.ink/script/get/@16/deno-commons-mod.ts";
|
||||
import {
|
||||
formatSize2,
|
||||
joinPath,
|
||||
log,
|
||||
term,
|
||||
} from "https://global.hatter.ink/script/get/@16/deno-commons-mod.ts";
|
||||
|
||||
const defaultSkipDirs = [".git", ".idea", ".gradle", "target"];
|
||||
const defaultSkipDirs = [
|
||||
".git",
|
||||
".idea",
|
||||
".gradle",
|
||||
"target",
|
||||
".DS_Store",
|
||||
".localized",
|
||||
"node_modules",
|
||||
];
|
||||
|
||||
async function listDir(
|
||||
dir: string,
|
||||
@@ -60,5 +73,5 @@ async function main(): Promise<void> {
|
||||
|
||||
main().catch((e) => log.error(e));
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260127T000838+08:00.MEYCIQC9pWilKstiV/1wrWau
|
||||
// ZPzfyKUOS8b3DTQ975hRnpUT8wIhAJkP/yTNPfrS9XUEsTid5D/019Wyv4SmRol4UsHRfiHo
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260127T005403+08:00.MEUCIFwdYkm52+V1DPMbAfoe
|
||||
// b9/2d4Lnf0lfVqFbE3S17N+FAiEA8ySrI+cc6aKtr2eyy1veHPbTxPHoh57Cg3ozdYrzJfI=
|
||||
|
||||
Reference in New Issue
Block a user