Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
makew0rld committed Dec 23, 2021
1 parent 7318283 commit 004851f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func Init() error {
// in the config
pu, _ := normalizeURL(FixUserURL(certURL))
if pu == nil {
//nolint:goerr113
return errors.New("[auth.certs]: couldn't normalize URL: " + certURL)
}
confCerts[certMapKey{pu.Host, pu.Path}] = certsViper.GetString(certURL)
Expand All @@ -57,6 +58,7 @@ func Init() error {
for _, keyURL := range keysViper.AllKeys() {
pu, _ := normalizeURL(FixUserURL(keyURL))
if pu == nil {
//nolint:goerr113
return errors.New("[auth.keys]: couldn't normalize URL: " + keyURL)
}
confKeys[certMapKey{pu.Host, pu.Path}] = keysViper.GetString(keyURL)
Expand Down
3 changes: 2 additions & 1 deletion display/subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ func Subscriptions(t *tab, u string) string {
// Render page

if viper.GetBool("subscriptions.header") {
rawPage += "You can use Ctrl-X to subscribe to a page, or to an Atom/RSS/JSON feed. See the online wiki for more.\n" +
rawPage += "You can use Ctrl-X to subscribe to a page, or to an Atom/RSS/JSON feed." +
"See the online wiki for more.\n" +
"If you just opened Amfora then updates may appear incrementally. Reload the page to see them.\n\n"
}
rawPage += "=> about:manage-subscriptions Manage subscriptions\n\n"
Expand Down

0 comments on commit 004851f

Please sign in to comment.