plugeth/cmd/utils
meowsbits 23f837c388
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-01-12 15:50:11 +01:00
..
cmd.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02: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-09-22 23:22:54 +02:00
flags_legacy.go node: refactor package node (#21105) 2020-08-03 19:40:46 +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-01-12 15:50:11 +01:00
prompt_test.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
prompt.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00