diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-23 15:38:30 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-23 15:38:30 +0800 |
commit | 2b3957f3737b56622e38425a52caea2a836f8b63 (patch) | |
tree | 321367d277bd95cbbdd484e56f91baebd4a7c6ae /cmd/geth | |
parent | 55424a11af6bd11c6c9f4b433a4d4690b7267ad4 (diff) | |
download | dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar.gz dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar.bz2 dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar.lz dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar.xz dexon-2b3957f3737b56622e38425a52caea2a836f8b63.tar.zst dexon-2b3957f3737b56622e38425a52caea2a836f8b63.zip |
fixed relative path issue with javascript files
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 1e5481eca..02ec63300 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -333,7 +333,7 @@ func attach(ctx *cli.Context) { } repl := newLightweightJSRE( - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), client, true, nil) @@ -366,7 +366,7 @@ func console(ctx *cli.Context) { startEth(ctx, ethereum) repl := newJSRE( ethereum, - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name), client, true, @@ -395,7 +395,7 @@ func execJSFiles(ctx *cli.Context) { startEth(ctx, ethereum) repl := newJSRE( ethereum, - ctx.String(utils.JSpathFlag.Name), + ctx.GlobalString(utils.JSpathFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name), client, false, |