From f996b5ce908e89c346b3a6d751e981b273a111df Mon Sep 17 00:00:00 2001 From: Brian Ingles Date: Fri, 6 Sep 2024 12:25:52 -0500 Subject: [PATCH] Simplify (#116-4) --- src/services/DhService.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/services/DhService.ts b/src/services/DhService.ts index 9e90c6b3..05ac10ab 100644 --- a/src/services/DhService.ts +++ b/src/services/DhService.ts @@ -288,9 +288,7 @@ export abstract class DhService ...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}`); });