cmd/utils: expand tilde in --jspath (#22900)

This commit is contained in:
lightclient 2021-05-18 11:54:10 -06:00 committed by GitHub
parent 088da24ebf
commit b3a1fda650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -675,10 +675,10 @@ var (
}
// ATM the url is left to the user and deployment to
JSpathFlag = cli.StringFlag{
JSpathFlag = DirectoryFlag{
Name: "jspath",
Usage: "JavaScript root path for `loadScript`",
Value: ".",
Value: DirectoryString("."),
}
// Gas price oracle settings