mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-07 14:57:27 +02:00
applied lint typo fixes
This commit is contained in:
1 parent
4a40c1b897
commit
bb18799a0b
56 files changed
+4788
-4780
No files matched your search
@@ -174,7 +174,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error
|
||||
switch len(rangeParts) {
|
||||
case 1:
|
||||
if step != 1 {
|
||||
return nil, errors.New("invalid segement step - step > 1 could be used only with the wildcard or range format")
|
||||
return nil, errors.New("invalid segment step - step > 1 could be used only with the wildcard or range format")
|
||||
}
|
||||
parsed, err := strconv.Atoi(rangeParts[0])
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user