Skip to content

Commit 93d205f

Browse files
committed
Fix lint error (false positive)
1 parent 26e208a commit 93d205f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datasources/applecontacts/macaddrbook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (fimp *FileImporter) processAddressBook(ctx context.Context, dirEntry timel
134134

135135
var sb strings.Builder
136136
sb.WriteString("SELECT\n\t")
137-
var selectedCols []string
137+
var selectedCols []string //nolint:prealloc // linter false positive: we don't know how many we will be selecting
138138

139139
for _, col := range supportedRecordTableColumns {
140140
if !slices.Contains(recordTableColumns, col) {

0 commit comments

Comments
 (0)