mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Fix regex port attributes over applying
This commit is contained in:
@@ -220,7 +220,7 @@ export class PortsAttributes extends Disposable {
|
||||
} else if (this.hasStartEnd(value.key)) {
|
||||
return port >= value.key.start && port <= value.key.end;
|
||||
} else {
|
||||
return commandLine ? value.key.test(commandLine) : -1;
|
||||
return commandLine ? value.key.test(commandLine) : false;
|
||||
}
|
||||
});
|
||||
return foundIndex >= 0 ? foundIndex + fromIndex : -1;
|
||||
|
||||
Reference in New Issue
Block a user