Skip to content

Commit 428ecad

Browse files
Fix trailing whitespace in dashboard refresh command
1 parent 24ca323 commit 428ecad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dashboard/dashboard.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DashboardPanel {
3535
}));
3636
this.setWebviewMessageListener();
3737
this.webView.html = this.getWebviewContent();
38-
38+
3939

4040
this.disposables.push(vscode.commands.registerCommand('java.dashboard.revealFileInOS', async (arg: { path: string }) => {
4141
await vscode.commands.executeCommand('revealFileInOS', vscode.Uri.file(arg.path));
@@ -146,7 +146,7 @@ class DashboardPanel {
146146
export namespace Dashboard {
147147
export function initialize(context: vscode.ExtensionContext): void {
148148
console.log('registering dashboard webview provider');
149-
149+
150150
let dashboardPanel: DashboardPanel | undefined = undefined;
151151
let webviewPanel: vscode.WebviewPanel | undefined = undefined;
152152

@@ -173,12 +173,12 @@ export namespace Dashboard {
173173
retainContextWhenHidden: true,
174174
localResourceRoots: [context.extensionUri],
175175
});
176-
176+
177177
webviewPanel.iconPath = Uri.file(path.join(context.extensionPath, 'icons', 'icon128.png'));
178178
dashboardPanel = new DashboardPanel(webviewPanel.webview, context);
179179

180180
webviewPanel.onDidDispose(() => {
181-
dashboardPanel?.dispose();
181+
dashboardPanel?.dispose();
182182
dashboardPanel = undefined;
183183
webviewPanel = undefined;
184184
vscode.commands.executeCommand('setContext', 'java:dashboard', false);

0 commit comments

Comments
 (0)