1
0

fix(import): correctly set child project relations

This commit is contained in:
kolaente
2023-09-07 10:45:15 +02:00
parent 93795d2f29
commit b2f3a23cb3
2 changed files with 36 additions and 19 deletions

View File

@ -121,7 +121,7 @@ func (v *FileMigrator) Migrate(user *user.User, file io.ReaderAt, size int64) er
}
versionString := bufVersion.String()
if versionString == "dev" && versionString == vversion.Version {
if versionString == "dev" && vversion.Version == "dev" {
log.Debugf(logPrefix + "Importing from dev version")
} else {
dumpedVersion, err := version.NewVersion(bufVersion.String())