Skip to content

Commit b3a1fda

Browse files
authored
cmd/utils: expand tilde in --jspath (#22900)
1 parent 088da24 commit b3a1fda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/utils/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,10 +675,10 @@ var (
675675
}
676676

677677
// ATM the url is left to the user and deployment to
678-
JSpathFlag = cli.StringFlag{
678+
JSpathFlag = DirectoryFlag{
679679
Name: "jspath",
680680
Usage: "JavaScript root path for `loadScript`",
681-
Value: ".",
681+
Value: DirectoryString("."),
682682
}
683683

684684
// Gas price oracle settings

0 commit comments

Comments
 (0)