Skip to content

Commit 388154a

Browse files
author
Kevin Li
committed
Adding config
1 parent 5dc7dd9 commit 388154a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func saveConfig(cfg *Config) *Config {
284284
core.AutoComplete = true
285285
core.Output = JSON
286286
}
287-
if conf.Section(ini.DEFAULT_SECTION).HasKey("postrequest") {
287+
if !conf.Section(ini.DEFAULT_SECTION).HasKey("postrequest") { {
288288
core.PostRequest = false
289289
}
290290
cfg.Core = core

0 commit comments

Comments
 (0)