Skip to content

Commit 0386097

Browse files
Update bool logic
1 parent 3879a79 commit 0386097

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thrift/thrift-gen/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func runThrift(inFile string, outDir string) error {
8282
args := []string{
8383
"--gen", goArgs, "-out", outDir, inFile,
8484
}
85-
if *thriftNoRecurse == false {
85+
if !*thriftNoRecurse {
8686
args = append(args, "-r")
8787
}
8888
if err := execThrift(args...); err != nil {

0 commit comments

Comments
 (0)