mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-05 08:37:20 -04:00
Fix non-functional break statement
This commit is contained in:
@@ -15,6 +15,7 @@ const ansiShownPassword = "\033[38;5;10m"
|
|||||||
func EntryReader(decryptedEntry []string, hideSecrets, syncEnabled bool) {
|
func EntryReader(decryptedEntry []string, hideSecrets, syncEnabled bool) {
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
|
||||||
|
fieldLoop:
|
||||||
for field := range decryptedEntry {
|
for field := range decryptedEntry {
|
||||||
switch field {
|
switch field {
|
||||||
case 0:
|
case 0:
|
||||||
@@ -59,7 +60,7 @@ func EntryReader(decryptedEntry []string, hideSecrets, syncEnabled bool) {
|
|||||||
renderNote(noteLines)
|
renderNote(noteLines)
|
||||||
|
|
||||||
// break after notes have been printed
|
// break after notes have been printed
|
||||||
break
|
break fieldLoop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user