From 0baf06c7013ec822905c5cc10b4a44e33a4cdc27 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 27 May 2024 20:48:50 +0800 Subject: [PATCH] remove redundant var --- src/unfold.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/unfold.ts b/src/unfold.ts index 1a31622..3aa8b5c 100644 --- a/src/unfold.ts +++ b/src/unfold.ts @@ -430,14 +430,13 @@ export class FilterFileTreeBrowserModel extends FilterFileBrowserModel { set path(value: string) { const pathChanged = this.pathChanged as Signal>; const oldValue = this._path; - const newValue = value; this._path = value; pathChanged.emit({ name: 'path', oldValue, - newValue + newValue: value }); }