Commit 2b3957f3 authored by Bas van Kervel's avatar Bas van Kervel

fixed relative path issue with javascript files

parent 55424a11
...@@ -333,7 +333,7 @@ func attach(ctx *cli.Context) { ...@@ -333,7 +333,7 @@ func attach(ctx *cli.Context) {
} }
repl := newLightweightJSRE( repl := newLightweightJSRE(
ctx.String(utils.JSpathFlag.Name), ctx.GlobalString(utils.JSpathFlag.Name),
client, client,
true, true,
nil) nil)
...@@ -366,7 +366,7 @@ func console(ctx *cli.Context) { ...@@ -366,7 +366,7 @@ func console(ctx *cli.Context) {
startEth(ctx, ethereum) startEth(ctx, ethereum)
repl := newJSRE( repl := newJSRE(
ethereum, ethereum,
ctx.String(utils.JSpathFlag.Name), ctx.GlobalString(utils.JSpathFlag.Name),
ctx.GlobalString(utils.RPCCORSDomainFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
client, client,
true, true,
...@@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) { ...@@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) {
startEth(ctx, ethereum) startEth(ctx, ethereum)
repl := newJSRE( repl := newJSRE(
ethereum, ethereum,
ctx.String(utils.JSpathFlag.Name), ctx.GlobalString(utils.JSpathFlag.Name),
ctx.GlobalString(utils.RPCCORSDomainFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
client, client,
false, false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment