File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class Stats {
9595 const showProvidedExports = optionOrFallback ( options . providedExports , ! forToString ) ;
9696 const showChildren = optionOrFallback ( options . children , true ) ;
9797 const showSource = optionOrFallback ( options . source , ! forToString ) ;
98- const showStackTrace = optionOrFallback ( options . stackTrace , true ) ;
98+ const showModuleTrace = optionOrFallback ( options . moduleTrace , true ) ;
9999 const showErrors = optionOrFallback ( options . errors , true ) ;
100100 const showErrorDetails = optionOrFallback ( options . errorDetails , ! forToString ) ;
101101 const showWarnings = optionOrFallback ( options . warnings , true ) ;
@@ -165,7 +165,7 @@ class Stats {
165165 text += e . message ;
166166 if ( showErrorDetails && e . details ) text += `\n${ e . details } ` ;
167167 if ( showErrorDetails && e . missing ) text += e . missing . map ( item => `\n[${ item } ]` ) . join ( "" ) ;
168- if ( showStackTrace && e . dependencies && e . origin ) {
168+ if ( showModuleTrace && e . dependencies && e . origin ) {
169169 text += `\n @ ${ e . origin . readableIdentifier ( requestShortener ) } ` ;
170170 e . dependencies . forEach ( dep => {
171171 if ( ! dep . loc ) return ;
You can’t perform that action at this time.
0 commit comments