Update regular expresiion for isLatestPatchSyntax()
This commit is contained in:
1 parent
898aa0ce4d
commit
83a1653fa3
3 files changed
+4
-21
No files matched your search
+1
-1
@@ -49,7 +49,7 @@ export class DotnetVersionResolver {
|
||||
|
||||
private isLatestPatchSyntax() {
|
||||
const majorTag = this.inputVersion.match(
|
||||
/^(?<majorTag>\d+)\.\d+\.\d{1}(x|X|\*){2}$/
|
||||
/^(?<majorTag>\d+)\.\d+\.\d{1}x{2}$/
|
||||
)?.groups?.majorTag;
|
||||
if (
|
||||
majorTag &&
|
||||
|
||||
Reference in new issue
Block a user