Skip to content

Commit 10447bc

Browse files
author
Qi Xiao
committed
Enable json output on all options disabled including email
1 parent 19b0c9c commit 10447bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func analyzeFunc(opts *cmd.CommonOptions) http.HandlerFunc {
463463
}
464464

465465
func handler(opts *cmd.CommonOptions) (err error) {
466-
if disableJSON && disablePDF && disableHTML {
466+
if disableJSON && disablePDF && disableHTML && disableEmail {
467467
disableJSON = false
468468
}
469469

0 commit comments

Comments
 (0)