erigon-pulse/cmd/utils
meowsbits b82525b79b cmd/utils: avoid making console preloads absolute (#22109)
Resolves https://github.com/etclabscore/core-geth/issues/273

jsre.JSRE already handles establishing preload
file paths relative to the 'assets' path (aka docroot),
where it joins the assets dir and the file path if relative,
or uses the file path only if absolute.

The duplication of this logic by MakeConsolePreloads
caused preloaded files to have paths which contained
duplicate references to the assets dir path.

Date: 2020-12-30 08:25:01-06:00
Signed-off-by: meows <b5c6@protonmail.com>
2021-03-09 10:33:36 +01:00
..
cmd.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
customflags.go cmd/clef, cmd/geth: use SplitAndTrim from cmd/utils (#21579) 2020-10-06 14:12:09 +02:00
flags_legacy.go node: refactor package node (#21105) 2020-08-14 16:33:59 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go cmd/utils: avoid making console preloads absolute (#22109) 2021-03-09 10:33:36 +01:00
prompt_test.go geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
prompt.go geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00