mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 09:51:39 -05:00
parent
75eb6cc9c1
commit
5fdd30423e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue