mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-03 15:47:23 -04:00
Break out of switch after printing notes (no need to check additional lines)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
gofmt -l -w -s ./src/cli/*.go
|
gofmt -l -w -s ./src/cli/*.go
|
||||||
gofmt -l -w -s ./src/offline/*.go
|
gofmt -l -w -s ./src/offline/*.go
|
||||||
git add -f extra glamour-styles src .gitignore commit.sh go.mod go.sum LICENSE main.go README.md
|
git add -f extra src .gitignore commit.sh go.mod go.sum LICENSE main.go README.md
|
||||||
git commit -m "$1"
|
git commit -m "$1"
|
||||||
git push
|
git push
|
||||||
|
|||||||
@@ -51,6 +51,9 @@ func EntryReader(decryptedEntry []string, hidePassword bool, sync bool) {
|
|||||||
|
|
||||||
// print markdown-rendered notes
|
// print markdown-rendered notes
|
||||||
fmt.Print(markdownNotesString)
|
fmt.Print(markdownNotesString)
|
||||||
|
|
||||||
|
// break after all lines have been printed
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user