Skip to content

Commit a80ab6e

Browse files
committed
build: move debug flag to environment variable
Because flags for schematics / architect are used for the schematics so this was impossible to use.
1 parent f9f1f59 commit a80ab6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/bootstrap-local.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (process.env['DEVKIT_PROFILING']){
5151
process.on('uncaughtException',exitHandler.bind(null,{exit: true}));
5252
}
5353

54-
if(process.argv.indexOf('--long-stack-trace')!==-1){
54+
if(process.env['DEVKIT_LONG_STACK_TRACE']){
5555
Error.stackTraceLimit=Infinity;
5656
}
5757

0 commit comments

Comments
(0)