Skip to content

Commit

Permalink
chore(ci): update the markdown check (#5015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason-Zhang9309 authored Jun 17, 2024
1 parent 02adef7 commit d5298c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/markdown_check/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func checkMarkdownSchemas(res, rootRes *schema.Resource, parent string, mdConten
fmt.Printf("[ERROR] can not find `%s`, please check it\n", fieldPath)
} else if extentStr != "" {
// check the format of field
reg += fmt.Sprintf("\\(%s\\)", extentStr)
reg += fmt.Sprintf("\\(%s", extentStr)
if !checkArgumentExist(*mdContent, reg) {
count++
fmt.Printf("[ERROR] the format of `%s` is not correct, should be (%s)\n", fieldPath, extentStr)
Expand Down

0 comments on commit d5298c3

Please sign in to comment.