style: simplify comparison

This commit is contained in:
Laytan Laats 2023-03-25 15:16:41 +01:00
parent 67058cb58c
commit d820a72c72

View File

@ -196,7 +196,7 @@ func printerWorker(r <-chan result) {
} }
} }
if *dump == true { if *dump {
dumper.NewDumper(os.Stdout).WithPositions().WithTokens().Dump(res.rootNode) dumper.NewDumper(os.Stdout).WithPositions().WithTokens().Dump(res.rootNode)
} }