diff options
author | Michael Muré <batolettre@gmail.com> | 2022-04-26 19:36:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-04-26 19:36:46 +0200 |
commit | 8ee333582ff82d0df971309e94946f2f6e69475b (patch) | |
tree | 0ba2904b8e27f5d17b247be2ee70dc6ba7157d59 | |
parent | a00f1a98972239c4a57cc126e9b41e6c4c53b023 (diff) | |
download | git-bug-8ee333582ff82d0df971309e94946f2f6e69475b.tar.gz |
a few fixes
-rw-r--r-- | .github/workflows/go.yml | 2 | ||||
-rw-r--r-- | entity/dag/operation_pack.go | 2 | ||||
-rw-r--r-- | util/text/validate.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 21fff7dc..27353e90 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -51,5 +51,5 @@ jobs: - name: Checkout code 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 diff --git a/entity/dag/operation_pack.go b/entity/dag/operation_pack.go index 8ca2ff56..9b42f9bf 100644 --- a/entity/dag/operation_pack.go +++ b/entity/dag/operation_pack.go @@ -359,5 +359,5 @@ func (pk PGPKeyring) DecryptionKeys() []openpgp.Key { // } // } // return result - return nil + panic("not implemented") } diff --git a/util/text/validate.go b/util/text/validate.go index 4c3f7065..f25a56b4 100644 --- a/util/text/validate.go +++ b/util/text/validate.go @@ -33,7 +33,7 @@ func Safe(s string) bool { 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 func SafeOneLine(s string) bool { for _, r := range s { |