Skip to content

Commit

Permalink
fix line(dl3004: If an error check is caught, skip the check for that…
Browse files Browse the repository at this point in the history
… line.) (#10)

* fix break line(dl3004)
  • Loading branch information
zabio3 committed Jan 26, 2020
1 parent 4895f13 commit dfa4165
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linter/rules/dl3004.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func validateDL3004(node *parser.Node) (rst []ValidateResult, err error) {
if v == "sudo" {
rst = append(rst, ValidateResult{line: child.StartLine, addMsg: ""})
}
break
}
}
}
Expand Down

0 comments on commit dfa4165

Please sign in to comment.