Skip to content

Commit

Permalink
Enabling debug prevents override
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Mar 16, 2022
1 parent 808ea99 commit f73e4bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion option.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ func Book(path string) Option {
}
bk.Steps = loaded.Steps
bk.stepKeys = loaded.stepKeys
bk.Debug = loaded.Debug
if !bk.Debug {
bk.Debug = loaded.Debug
}
bk.path = loaded.path
return nil
}
Expand Down

0 comments on commit f73e4bf

Please sign in to comment.