Skip to content

Commit 57d49c2

Browse files
codenemadhocore
authored andcommitted
refactor(validator): remove unreachable return statement
1 parent f122d50 commit 57d49c2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

validator.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ func isValidWeekDay(val string, last int, ref time.Time) (bool, error) {
121121
return ref.Day() == day, nil
122122
}
123123
}
124-
125-
return false, nil
126124
}
127125

128126
pos := strings.Index(val, "#")

0 commit comments

Comments
 (0)