mirror of https://github.com/cheat/cheat.git
chore: spelling
`s/pathSheets/pathsheets/g` in `cmd_list` for consistency elsewhere.
This commit is contained in:
parent
606092e288
commit
a58294859e
|
@ -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
|
// sheets with local sheets), here we simply want to create a slice
|
||||||
// containing all sheets.
|
// containing all sheets.
|
||||||
flattened := []sheet.Sheet{}
|
flattened := []sheet.Sheet{}
|
||||||
for _, pathSheets := range cheatsheets {
|
for _, pathsheets := range cheatsheets {
|
||||||
for _, s := range pathSheets {
|
for _, s := range pathsheets {
|
||||||
flattened = append(flattened, s)
|
flattened = append(flattened, s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue