From d820a72c7248f314a59dc953d08e49eff90bbb18 Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Sat, 25 Mar 2023 15:16:41 +0100 Subject: [PATCH] style: simplify comparison --- cmd/php-parser/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/php-parser/main.go b/cmd/php-parser/main.go index fb51b0b..a675f2e 100644 --- a/cmd/php-parser/main.go +++ b/cmd/php-parser/main.go @@ -196,7 +196,7 @@ func printerWorker(r <-chan result) { } } - if *dump == true { + if *dump { dumper.NewDumper(os.Stdout).WithPositions().WithTokens().Dump(res.rootNode) }