a few fixes

This commit is contained in:
Michael Muré 2022-04-26 19:36:46 +02:00
parent a00f1a9897
commit 8ee333582f
3 changed files with 3 additions and 3 deletions

View File

@ -51,5 +51,5 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Check Code Formation - name: Check Code Formatting
run: find . -name "*.go" | while read line; do [ -z "$(gofmt -d "$line" | head)" ] || exit 1; done run: find . -name "*.go" | while read line; do [ -z "$(gofmt -d "$line" | head)" ] || exit 1; done

View File

@ -359,5 +359,5 @@ func (pk PGPKeyring) DecryptionKeys() []openpgp.Key {
// } // }
// } // }
// return result // return result
return nil panic("not implemented")
} }

View File

@ -33,7 +33,7 @@ func Safe(s string) bool {
return true return true
} }
// Safe will tell if a character in the string is considered unsafe // SafeOneLine will tell if a character in the string is considered unsafe
// Currently trigger on all unicode control character // Currently trigger on all unicode control character
func SafeOneLine(s string) bool { func SafeOneLine(s string) bool {
for _, r := range s { for _, r := range s {