Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selectMachine(machine) {
if (this.currentMachine != machine) {
shell.distribute("onMachineDeselected", this.currentMachine);
let container = this.FEATURE;
if (!this.currentMachine)
container.replace(container.first, new DebugPane(this));
else if (!machine)
container.replace(container.first, new FilePane(this));
this.currentMachine = machine
shell.distribute("onMachineSelected", machine);
}
}
sortBreakpoints(a, b) {