style: simplify comparison
This commit is contained in:
parent
67058cb58c
commit
d820a72c72
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user