We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447b5f7 commit 190df78Copy full SHA for 190df78
cmd/geth/consolecmd.go
@@ -152,7 +152,7 @@ func remoteConsole(ctx *cli.Context) error {
152
func ephemeralConsole(ctx *cli.Context) error {
153
var b strings.Builder
154
for _, file := range ctx.Args().Slice() {
155
- b.WriteString(fmt.Sprintf("loadScript('%s');", file))
+ fmt.Fprintf(&b, "loadScript('%s');", file)
156
}
157
utils.Fatalf(`The "js" command is deprecated. Please use the following instead:
158
geth --exec "%s" console`, b.String())
0 commit comments