Skip to content

Commit

Permalink
Simplify (#116-4)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Sep 9, 2024
1 parent 5b553b3 commit a8f5ea9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/services/DhService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ export abstract class DhService<TDH = unknown, TClient = unknown>
...result!.changes.updated,
] as VariableDefintion[];

changed.forEach(variable => {
const { title = 'Unknown', type } = variable;

changed.forEach(({ title = 'Unknown', type }) => {
const icon = VARIABLE_UNICODE_ICONS[type] ?? type;
this.outputChannel.appendLine(`${icon} ${title}`);
});
Expand Down

0 comments on commit a8f5ea9

Please sign in to comment.