aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/deprecated.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-05-11 01:36:31 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-05-11 01:36:31 +0200
commit7ab63d74ce88c20d0550767ef01f50237ad92778 (patch)
tree40e602baabffa3a940465e5f6425e9ad8809cb67 /pkg/config/deprecated.go
parent1031949a98b8c43ec9fc99f8f23240e8644f5e6b (diff)
downloadfeed2imap-go-7ab63d74ce88c20d0550767ef01f50237ad92778.tar.gz
feed2imap-go-7ab63d74ce88c20d0550767ef01f50237ad92778.tar.bz2
feed2imap-go-7ab63d74ce88c20d0550767ef01f50237ad92778.zip
Small style improvement
Diffstat (limited to 'pkg/config/deprecated.go')
-rw-r--r--pkg/config/deprecated.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/config/deprecated.go b/pkg/config/deprecated.go
index becc9fb..44ed6f6 100644
--- a/pkg/config/deprecated.go
+++ b/pkg/config/deprecated.go
@@ -22,8 +22,7 @@ var deprecatedOpts = map[string]deprecated{
"execurl": {"Use 'exec' instead.", nil},
"filter": {"Use 'item-filter' instead.", nil},
"disable-ssl-verification": {"Interpreted as 'tls-no-verify'.", func(i interface{}, global *GlobalOptions, opts *Options) {
- val, ok := i.(bool)
- if ok {
+ if val, ok := i.(bool); ok {
if val && !opts.NoTLS {
// do not overwrite the set NoTLS flag!
opts.NoTLS = val
2018-06-10stgit-0.18 with version informationRené 'Necoro' Neumann3-0/+100 2017-09-13[feed2imap] Support Ruby2.2René 'Necoro' Neumann1-1/+1 2016-08-19CleanupRené 'Necoro' Neumann25-703/+0 2016-07-09Add dev-python/pdb-cloneRené 'Necoro' Neumann2-0/+24 2016-07-06Fix r/dependRené 'Necoro' Neumann1-4/+4 2016-07-06Fix r/dependRené 'Necoro' Neumann4-3/+8 2016-07-06Crypt::LERené 'Necoro' Neumann8-0/+97 2016-07-03Python 3.4 support for flask-migrateRené 'Necoro' Neumann2-0/+35 2016-06-26Remove outdated radicaleRené 'Necoro' Neumann5-188/+0 2016-03-25feed2imap: ruby-2.1René 'Necoro' Neumann1-1/+1 2016-03-25i3 with pango but w/o cairoRené 'Necoro' Neumann4-0/+341 2016-02-21Use virtual/udevRené 'Necoro' Neumann1-1/+1 2016-01-09passRené 'Necoro' Neumann2-0/+84