File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const optimist = require('optimist')
3232 . describe ( 'wait-server' , 'port to connect to and wait before running tests' )
3333 . describe ( 'timeout' , 'timeout for tests' )
3434 . describe ( 'crash-reporter-directory' , 'crash reporter directory' ) . string ( 'crash-reporter-directory' )
35+ . describe ( 'disableCrashReporter' , 'disable crash reporter' ) . boolean ( 'disableCrashReporter' )
3536 . describe ( 'tfs' ) . string ( 'tfs' )
3637 . describe ( 'help' , 'show the help' ) . alias ( 'help' , 'h' ) ;
3738
@@ -43,7 +44,7 @@ if (argv.help) {
4344}
4445
4546let crashReporterDirectory = argv [ 'crash-reporter-directory' ] ;
46- if ( crashReporterDirectory ) {
47+ if ( crashReporterDirectory && ! argv . disableCrashReporter ) {
4748 crashReporterDirectory = path . normalize ( crashReporterDirectory ) ;
4849
4950 if ( ! path . isAbsolute ( crashReporterDirectory ) ) {
You can’t perform that action at this time.
0 commit comments