From a58294859e2381e26f3fcf772da0a376069b5872 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Fri, 27 Nov 2020 22:26:14 -0500 Subject: [PATCH] chore: spelling `s/pathSheets/pathsheets/g` in `cmd_list` for consistency elsewhere. --- cmd/cheat/cmd_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cheat/cmd_list.go b/cmd/cheat/cmd_list.go index 502fa80..9907603 100644 --- a/cmd/cheat/cmd_list.go +++ b/cmd/cheat/cmd_list.go @@ -37,8 +37,8 @@ func cmdList(opts map[string]interface{}, conf config.Config) { // sheets with local sheets), here we simply want to create a slice // containing all sheets. flattened := []sheet.Sheet{} - for _, pathSheets := range cheatsheets { - for _, s := range pathSheets { + for _, pathsheets := range cheatsheets { + for _, s := range pathsheets { flattened = append(flattened, s) } }