mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
unconfiguredPortsAttributes -> otherPortsAttributes
Fixes microsoft/vscode-remote-release#4732
This commit is contained in:
parent
73b9e6679d
commit
64381abea9
|
@ -75,7 +75,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -483,7 +483,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -758,7 +758,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -999,7 +999,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
@ -1209,7 +1209,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"unconfiguredPortsAttributes": {
|
||||
"otherPortsAttributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onAutoForward": {
|
||||
|
|
|
@ -189,7 +189,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
|||
errorMessage: localize('remote.portsAttributes.patternError', "Must be a port number, range of port numbers, or regular expression."),
|
||||
additionalProperties: false
|
||||
},
|
||||
'remote.unconfiguredPortsAttributes': {
|
||||
'remote.otherPortsAttributes': {
|
||||
type: 'object',
|
||||
properties: {
|
||||
'onAutoForward': {
|
||||
|
|
|
@ -154,7 +154,7 @@ interface PortAttributes extends Attributes {
|
|||
|
||||
export class PortsAttributes extends Disposable {
|
||||
private static SETTING = 'remote.portsAttributes';
|
||||
private static DEFAULTS = 'remote.unconfiguredPortsAttributes';
|
||||
private static DEFAULTS = 'remote.otherPortsAttributes';
|
||||
private static RANGE = /^(\d+)\-(\d+)$/;
|
||||
private portsAttributes: PortAttributes[] = [];
|
||||
private defaultPortAttributes: Attributes | undefined;
|
||||
|
|
Loading…
Reference in a new issue