From 7e7fbd15b400ad51fc0e05b2225027c0da7a148d Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Wed, 10 Dec 2025 00:20:36 -0500 Subject: [PATCH] Initialize deletions list when returning lists from RunJob() --- syncclient/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/syncclient/client.go b/syncclient/client.go index 9d6fd50..2e139c1 100644 --- a/syncclient/client.go +++ b/syncclient/client.go @@ -550,6 +550,7 @@ func RunJob(returnLists bool) ([3][]string, error) { if err != nil { return [3][]string{nil, nil, nil}, errors.New("unable to sync entries: " + err.Error()) } + lists[0] = []string{} // initialize deletions list for _, deletion := range deletions { if !deletion.IsAgeFile { lists[0] = append(lists[0], deletion.VanityPath)