Skip to content

Commit 3c9f56f

Browse files
committed
Remove some unused lint configuration
1 parent ff9a1d1 commit 3c9f56f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ issues:
9898
- path: models/update.go
9999
linters:
100100
- unused
101-
- path: modules/setting/attachment.go
102-
linters:
103-
- dupl
104-
- path: modules/setting/lfs.go
105-
linters:
106-
- dupl
107101
- path: cmd/dump.go
108102
linters:
109103
- dupl

cmd/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ func runDump(ctx *cli.Context) error {
349349
switch setting.Attachment.Storage.Type {
350350
case setting.LocalStorageType:
351351
if _, err := os.Stat(setting.Attachment.Path); !os.IsNotExist(err) {
352-
log.Info("Dumping lfs... %s", setting.LFS.Path)
352+
log.Info("Dumping attachment... %s", setting.Attachment.Path)
353353
if err := addRecursive(w, "attachments", setting.Attachment.Path, verbose); err != nil {
354354
fatal("Failed to include attachment: %v", err)
355355
}

0 commit comments

Comments
 (0)