File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,16 @@ function sync_args_from_cmd(args) {
377
377
lt_config [ "run_settings" ] [ "network_ws" ] = false ;
378
378
}
379
379
380
+ if ( "network_sse" in args ) {
381
+ if ( args [ "network_sse" ] == "true" ) {
382
+ lt_config . run_settings . network_sse = true ;
383
+ } else {
384
+ lt_config . run_settings . network_sse = false ;
385
+ }
386
+ } else if ( lt_config [ "run_settings" ] [ "network_sse" ] && ! lt_config [ "run_settings" ] [ "network_sse" ] ) {
387
+ lt_config [ "run_settings" ] [ "network_sse" ] = false ;
388
+ }
389
+
380
390
if ( "headless" in args ) {
381
391
lt_config [ "run_settings" ] [ "headless" ] = args [ "headless" ] ;
382
392
} else if ( ! lt_config [ "run_settings" ] [ "headless" ] ) {
Original file line number Diff line number Diff line change @@ -222,7 +222,12 @@ const argv = require("yargs")
222
222
alias : "network_ws" ,
223
223
describe : "Bypass web socket calls for Network logs" ,
224
224
type : "bool" ,
225
- } ) ;
225
+ } )
226
+ . option ( "net_sse" , {
227
+ alias : "network_sse" ,
228
+ describe : "Bypass sse events calls for Network logs" ,
229
+ type : "bool" ,
230
+ } ) ; ;
226
231
} ,
227
232
function ( argv ) {
228
233
require ( "./commands/run" ) ( argv ) ;
You can’t perform that action at this time.
0 commit comments