Skip to content

Commit

Permalink
fix(sshd_config): Add missing regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzel394 committed Sep 10, 2024
1 parent e31e91f commit c897523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions handlers/sshd_config/fields/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ import (
docvalues "config-lsp/doc-values"
"config-lsp/utils"
"os/exec"
"regexp"
"strings"
)

var isJustDigitsPattern = regexp.MustCompile(`^\d+$`)

var booleanEnumValue = docvalues.EnumValue{
EnforceValues: true,
Values: []docvalues.EnumString{
Expand Down

0 comments on commit c897523

Please sign in to comment.