From 43da63bc50fd4f5a9b9da515db83ecd9249cdfe3 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 5 Dec 2024 09:52:42 +0100 Subject: [PATCH] lowercase variable --- cmd/sync/sync.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/sync/sync.go b/cmd/sync/sync.go index f464ec084..6d722fb08 100644 --- a/cmd/sync/sync.go +++ b/cmd/sync/sync.go @@ -73,16 +73,16 @@ func (f *syncFlags) syncOptionsFromArgs(cmd *cobra.Command, args []string) (*syn log.Warnf(ctx, "Failed to read git info: %s", err) } - var WorktreeRoot vfs.Path + var worktreeRoot vfs.Path if info.WorktreeRoot == "" { - WorktreeRoot = localRoot + worktreeRoot = localRoot } else { - WorktreeRoot = vfs.MustNew(info.WorktreeRoot) + worktreeRoot = vfs.MustNew(info.WorktreeRoot) } opts := sync.SyncOptions{ - WorktreeRoot: WorktreeRoot, + WorktreeRoot: worktreeRoot, LocalRoot: localRoot, Paths: []string{"."}, Include: nil,