We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60e6cf6 commit e379d72Copy full SHA for e379d72
main.go
@@ -73,7 +73,7 @@ func InitArgv() {
73
FORMATTER_CHAR = DEFAULT_INDENT_CHAR
74
fmt.Printf("No output indent char specified, use the default value: `%s`\n", FORMATTER_CHAR)
75
} else {
76
- if indentChar != "\t" || indentChar != " " || indentChar != "\\s" {
+ if !(indentChar == "\t" || indentChar == " " || indentChar == "\\s") {
77
indentChar = DEFAULT_INDENT_CHAR
78
fmt.Printf("Specify the indent char not support, use the default value: `%s`\n", DEFAULT_INDENT_CHAR)
79
}
0 commit comments