From 93ff88d54437a4fd5449c4d54748a331136ca756 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Thu, 10 Feb 2022 16:43:04 +0000 Subject: [PATCH] Fix lint --- internal/pkg/node/methods.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/pkg/node/methods.go b/internal/pkg/node/methods.go index 0c2cdf99..58a457b6 100644 --- a/internal/pkg/node/methods.go +++ b/internal/pkg/node/methods.go @@ -137,10 +137,7 @@ func (ent *Entry) Print() string { } func (ent *Entry) PrintB() bool { - if ent.GetB() { - return true - } - return false + return ent.GetB() } func (ent *Entry) Source() string {