Chore: minor infra changes

1
This commit is contained in:
SukkaW
2024-08-02 17:20:34 +08:00
parent 3d3abb8b50
commit 7f6e631847
5 changed files with 14 additions and 9 deletions

View File

@@ -402,8 +402,10 @@ export const createTrie = (from?: string[] | Set<string> | null, hostnameMode =
},
whitelist,
[inspect.custom]: (depth: number) => JSON.stringify(deepTrieNodeToJSON(root), null, 2).split('\n').map((line) => ' '.repeat(depth) + line).join('\n'),
[inspect.custom]: (depth: number) => fastStringArrayJoin(
JSON.stringify(deepTrieNodeToJSON(root), null, 2).split('\n').map((line) => ' '.repeat(depth) + line),
'\n'
),
hostnameMode,
smolTree
};