mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Chore: Fix tests (#4440)
This commit is contained in:
parent
ce2384cccc
commit
d451078e72
3 changed files with 6 additions and 7 deletions
|
@ -53,12 +53,12 @@ func executeConvertConfigsToProtobuf(cmd *base.Command, args []string) {
|
|||
}
|
||||
|
||||
if len(unnamedArgs) < 1 {
|
||||
base.Fatalf("empty config list")
|
||||
base.Fatalf("invalid config list length: %d", len(unnamedArgs))
|
||||
}
|
||||
|
||||
pbConfig, err := core.LoadConfig("auto", unnamedArgs)
|
||||
if err != nil {
|
||||
base.Fatalf(err.Error())
|
||||
base.Fatalf("failed to load config: %s", err)
|
||||
}
|
||||
|
||||
if optDump {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue