Fix merge of skip check

This commit is contained in:
Liz Rice
2019-02-18 08:40:57 +00:00
committed by GitHub
parent 911e9051dc
commit db962a0ad9
+1 -6
View File
@@ -78,6 +78,7 @@ type Check struct {
// the results.
func (c *Check) Run() {
// If check type is skip, force result to INFO
if c.Type == "skip" {
c.State = INFO
return
@@ -89,12 +90,6 @@ func (c *Check) Run() {
return
}
// If check type is skip, force result to INFO.
if c.Type == "skip" {
c.State = INFO
return
}
var out bytes.Buffer
var errmsgs string