Skip to content

Commit 2b3957f

Browse files
author
Bas van Kervel
committed
fixed relative path issue with javascript files
1 parent 55424a1 commit 2b3957f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/geth/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func attach(ctx *cli.Context) {
333333
}
334334

335335
repl := newLightweightJSRE(
336-
ctx.String(utils.JSpathFlag.Name),
336+
ctx.GlobalString(utils.JSpathFlag.Name),
337337
client,
338338
true,
339339
nil)
@@ -366,7 +366,7 @@ func console(ctx *cli.Context) {
366366
startEth(ctx, ethereum)
367367
repl := newJSRE(
368368
ethereum,
369-
ctx.String(utils.JSpathFlag.Name),
369+
ctx.GlobalString(utils.JSpathFlag.Name),
370370
ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
371371
client,
372372
true,
@@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) {
395395
startEth(ctx, ethereum)
396396
repl := newJSRE(
397397
ethereum,
398-
ctx.String(utils.JSpathFlag.Name),
398+
ctx.GlobalString(utils.JSpathFlag.Name),
399399
ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
400400
client,
401401
false,

0 commit comments

Comments
 (0)