mirror of
https://github.com/go-gitea/gitea
synced 2024-06-08 04:15:48 +00:00
parent
7aa29720f0
commit
580401ecbf
|
@ -31,7 +31,7 @@ func argsSet(c *cli.Context, args ...string) error {
|
||||||
return errors.New(a + " is not set")
|
return errors.New(a + " is not set")
|
||||||
}
|
}
|
||||||
|
|
||||||
if util.IsEmptyString(a) {
|
if util.IsEmptyString(c.String(a)) {
|
||||||
return errors.New(a + " is required")
|
return errors.New(a + " is required")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user