Reformat with gofumpt

This commit is contained in:
2026-01-13 09:52:31 +01:00
parent 04a2e460ae
commit 754f7e16f6
5 changed files with 24 additions and 27 deletions

View File

@@ -70,7 +70,6 @@ func main() {
// Run migration
migrated, failed, err := migrateArchive(archivePath, dryRun, numWorkers)
if err != nil {
cclog.Errorf("Migration completed with errors: %s", err.Error())
if failed > 0 {
@@ -104,5 +103,5 @@ func checkVersion(archivePath string) error {
func updateVersion(archivePath string) error {
versionFile := filepath.Join(archivePath, "version.txt")
return os.WriteFile(versionFile, []byte("3\n"), 0644)
return os.WriteFile(versionFile, []byte("3\n"), 0o644)
}