-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Problem
Code uses == true and == false comparisons instead of idiomatic Go style.
Locations
pkg/shell/shell.go:86-if beginFound == falsepkg/junitxml/writer_test.go:24-if isSet == true
Fix
Use idiomatic Go boolean expressions:
// Before
if beginFound == false {
if isSet == true {
// After
if !beginFound {
if isSet {Priority
Low - Code style
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code-styleCode style and idiomsCode style and idioms