mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-09 04:00:03 +02:00
This commit is contained in:
parent
3e4fe009e7
commit
bf43db10a9
3 changed files with 15 additions and 7 deletions
|
@ -590,7 +590,7 @@ func updateOptionsUnits(opts *base.MigrateOptions, units []string) error {
|
|||
opts.ReleaseAssets = true
|
||||
} else {
|
||||
for _, unit := range units {
|
||||
switch strings.ToLower(unit) {
|
||||
switch strings.ToLower(strings.TrimSpace(unit)) {
|
||||
case "":
|
||||
continue
|
||||
case "wiki":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue