Skip to content

Commit

Permalink
Use .get()! instead of the unsupported [] to access LinkedMap
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Jan 7, 2019
1 parent 5637011 commit e397e02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ export class TerminalTaskSystem implements ITaskSystem {
// Search for any idle terminal used previously by a task of the same terminalGroup
// (or, if the task has no terminalGroup, a terminal used by a task without terminalGroup).
for (const taskId of this.idleTaskTerminals.keys()) {
const idleTerminalId = this.idleTaskTerminals[taskId];
const idleTerminalId = this.idleTaskTerminals.get(taskId)!;
if (this.terminals[idleTerminalId].terminalGroup === terminalGroup) {
terminalId = this.idleTaskTerminals.remove(taskId);
break;
Expand Down

0 comments on commit e397e02

Please sign in to comment.