lncli+docs: skip gomnd check in switch statement

This commit is contained in:
Elle Mouton committed 2023-01-16 09:55:07 +02:00
1 parent 143eba82ea
commit 097b4fae68
2 files changed
+3

No files matched your search

+1
View File
@@ -1653,6 +1653,7 @@ func clearLines(count int) {
// ordinalNumber returns the ordinal number as a string of a number.
func ordinalNumber(num uint32) string {
//nolint:gomnd
switch num {
case 1:
return "1st"