mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-13 20:13:15 +03:00
a few fixes
This commit is contained in:
parent
a00f1a9897
commit
8ee333582f
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@ -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
|
||||||
|
@ -359,5 +359,5 @@ func (pk PGPKeyring) DecryptionKeys() []openpgp.Key {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// return result
|
// return result
|
||||||
return nil
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user