pmcf 6.32.7 → 6.32.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/pmcf-info +2 -2
- package/package.json +1 -1
package/bin/pmcf-info
CHANGED
|
@@ -12,10 +12,10 @@ const { root, args, options } = await prepare({
|
|
|
12
12
|
for (const expression of args) {
|
|
13
13
|
const result = root.expression(expression);
|
|
14
14
|
|
|
15
|
-
show(result, 0, { short: false, maxDepth: options.maxDepth });
|
|
15
|
+
show(result, 0, { short: false, maxDepth: options.maxDepth ?? 5 });
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
function show(value, indent = 0, options
|
|
18
|
+
function show(value, indent = 0, options) {
|
|
19
19
|
if (indent >= options.maxDepth) {
|
|
20
20
|
console.log("...");
|
|
21
21
|
return;
|