mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Fix broken regex
`($i)` is not valid for javascript regexes.
This commit is contained in:
@@ -2368,7 +2368,7 @@
|
||||
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
|
||||
"type": "string",
|
||||
"default": "en-US",
|
||||
"pattern": "^(?i)[a-zA]{2}(-[a-z]{2})?$"
|
||||
"pattern": "^[a-zA-Z]{2}(-[a-zA-Z]{2})?$"
|
||||
},
|
||||
|
||||
"versionControlProvenance": {
|
||||
@@ -3078,7 +3078,7 @@
|
||||
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
|
||||
"type": "string",
|
||||
"default": "en-US",
|
||||
"pattern": "^(?i)[a-zA]{2}(-[a-z]{2})?$"
|
||||
"pattern": "^[a-zA-Z]{2}(-[a-zA-Z]{2})?$"
|
||||
},
|
||||
|
||||
"contents": {
|
||||
@@ -3386,4 +3386,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user