lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 876f9395c41ff6f9b98ee18a2456d42ec5abeb45
parent 3eacd0cdec5dc12848d75f52a7db8d131330b7de
Author: Sean Enck <sean@ttypty.com>
Date:   Tue,  3 Feb 2026 17:15:28 -0500

avoid string allocation

Diffstat:
Minternal/app/json.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/app/json.go b/internal/app/json.go @@ -11,7 +11,7 @@ func JSON(cmd CommandOptions) error { if len(args) > 1 { return errors.New("invalid arguments") } - filter := "" + var filter string if len(args) == 1 { filter = args[0] }