Default version to 0.0.0 without error

This commit is contained in:
2025-01-11 20:11:25 +01:00
parent 20ede32890
commit 4134c39721

View File

@@ -1,7 +1,6 @@
package main
import (
"fmt"
"strings"
)
@@ -13,5 +12,5 @@ func GetVersion(data string) (version string, err error) {
return version, nil
}
}
return "", fmt.Errorf("no version found")
return "0.0.0", nil
}