aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_11/v112.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_11/v112.go')
-rw-r--r--models/migrations/v1_11/v112.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_11/v112.go b/models/migrations/v1_11/v112.go
index 3478ffe449..ff1f972204 100644
--- a/models/migrations/v1_11/v112.go
+++ b/models/migrations/v1_11/v112.go
@@ -31,7 +31,7 @@ func RemoveAttachmentMissedRepo(x *xorm.Engine) error {
for i := 0; i < len(attachments); i++ {
uuid := attachments[i].UUID
if err = util.RemoveAll(filepath.Join(setting.Attachment.Path, uuid[0:1], uuid[1:2], uuid)); err != nil {
- fmt.Printf("Error: %v", err)
+ fmt.Printf("Error: %v", err) //nolint:forbidigo
}
}