Allow version numbers (fixes microsoft/vscode-remote-release#3253)
This commit is contained in:
parent
ab97712e7e
commit
7267e39126
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
||||||
"description": "An array of extensions that should be installed into the container.",
|
"description": "An array of extensions that should be installed into the container.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)$",
|
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)(@[0-9]+\\.[0-9]+\\.[0-9]+)?$",
|
||||||
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
|
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"description": "An array of extensions that should be installed into the container.",
|
"description": "An array of extensions that should be installed into the container.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)$",
|
"pattern": "^([a-z0-9A-Z][a-z0-9\\-A-Z]*)\\.([a-z0-9A-Z][a-z0-9\\-A-Z]*)(@[0-9]+\\.[0-9]+\\.[0-9]+)?$",
|
||||||
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
|
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue