Skip to content

Commit

Permalink
increase inspect depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Rost committed Jul 25, 2024
1 parent 15af5fd commit 7c26212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmds/eval.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const {limit: {verification: verificationLimit, rcgcdw: rcgcdwLimit}} = require('../util/default.json');

inspect.defaultOptions = {compact: false, breakLength: Infinity};
inspect.defaultOptions = {compact: false, breakLength: Infinity, depth: 3};

/**
* Processes the "eval" command.
Expand Down
2 changes: 1 addition & 1 deletion util/globals.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inspect } from 'node:util';
inspect.defaultOptions = {compact: false, breakLength: Infinity};
inspect.defaultOptions = {compact: false, breakLength: Infinity, depth: 3};

/**
* If debug logging is enabled.
Expand Down

0 comments on commit 7c26212

Please sign in to comment.