From 9fbb417f8db47bf2346b3f4b01e8204604e5b422 Mon Sep 17 00:00:00 2001 From: bashbunni Date: Thu, 12 Dec 2024 08:38:19 -0800 Subject: [PATCH] fix(lint): remove ineffectual assignment --- tree/tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree/tree.go b/tree/tree.go index fdb629b0..4d93670a 100644 --- a/tree/tree.go +++ b/tree/tree.go @@ -144,7 +144,7 @@ func (t *Tree) Value() string { // SetValue sets the value of a Tree node. func (t *Tree) SetValue(value any) { - t = t.Root(value) + t.Root(value) } // String returns the string representation of the Tree node.