Escape backticks and dollar signs in quoteForShell (#777)

* Escape backticks and dollar signs in quoteForShell

* Sync embedded formulas with .beads/formulas
This commit is contained in:
Steve Whittaker
2026-01-20 15:11:00 -06:00
committed by GitHub
parent 55a3b9858a
commit 6966eb4c28
4 changed files with 83 additions and 43 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ func ThemeForRig(rigName string) string {
for _, b := range []byte(rigName) {
hash = hash*31 + uint32(b)
}
return themes[hash%uint32(len(themes))]
return themes[hash%uint32(len(themes))] //nolint:gosec // len(themes) is small constant
}
// GetThemeNames returns the names in a specific theme.