diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sugar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js index 774534c2..219c3eec 100644 --- a/src/util/sugar.js +++ b/src/util/sugar.js @@ -350,7 +350,7 @@ export function _withAggregate(mode, aggregateOpts, fn) { } } -export function showAggregate(topError, {pathToFile = null} = {}) { +export function showAggregate(topError, {pathToFile = p => p} = {}) { const recursive = (error, {level}) => { const stackLines = error.stack?.split('\n'); const stackLine = stackLines?.find(line => |