File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ func attach(ctx *cli.Context) {
333
333
}
334
334
335
335
repl := newLightweightJSRE (
336
- ctx .String (utils .JSpathFlag .Name ),
336
+ ctx .GlobalString (utils .JSpathFlag .Name ),
337
337
client ,
338
338
true ,
339
339
nil )
@@ -366,7 +366,7 @@ func console(ctx *cli.Context) {
366
366
startEth (ctx , ethereum )
367
367
repl := newJSRE (
368
368
ethereum ,
369
- ctx .String (utils .JSpathFlag .Name ),
369
+ ctx .GlobalString (utils .JSpathFlag .Name ),
370
370
ctx .GlobalString (utils .RPCCORSDomainFlag .Name ),
371
371
client ,
372
372
true ,
@@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) {
395
395
startEth (ctx , ethereum )
396
396
repl := newJSRE (
397
397
ethereum ,
398
- ctx .String (utils .JSpathFlag .Name ),
398
+ ctx .GlobalString (utils .JSpathFlag .Name ),
399
399
ctx .GlobalString (utils .RPCCORSDomainFlag .Name ),
400
400
client ,
401
401
false ,
You can’t perform that action at this time.
0 commit comments