Skip to content

Commit 49da038

Browse files
Potential fix for code scanning alert no. 4: Incomplete regular expression for hostnames (#150)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e224396 commit 49da038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/release/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
var token = os.Getenv("GITHUB_TOKEN")
2121
var versionRegexp = regexp.MustCompile(`^\d+\.\d+\.\d+$`)
22-
var goModRequireSDKRegexp = regexp.MustCompile(`github.com/terraform-linters/tflint-plugin-sdk v(.+)`)
22+
var goModRequireSDKRegexp = regexp.MustCompile(`github\.com/terraform-linters/tflint-plugin-sdk v(.+)`)
2323

2424
func main() {
2525
if err := os.Chdir("../../"); err != nil {

0 commit comments

Comments
 (0)