Skip to content

Commit e90a022

Browse files
committed
Fix lint
1 parent acd1305 commit e90a022

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/extension.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ import {
183183
} from "./cdtDebugAdapter/hexViewProvider";
184184
import { configureClangSettings } from "./clang";
185185
import { OpenOCDErrorMonitor } from "./espIdf/hints/openocdhint";
186-
import {
187-
createHintsStatusBarItem,
188-
updateHintsStatusBarItem
186+
import {
187+
createHintsStatusBarItem,
188+
updateHintsStatusBarItem,
189189
} from "./statusBar";
190190

191191
// Global variables shared by commands
@@ -3675,10 +3675,13 @@ export async function activate(context: vscode.ExtensionContext) {
36753675
updateHintsStatusBarItem(false);
36763676
});
36773677

3678-
vscode.commands.registerCommand("espIdf.errorHints.clearBuildErrors", () => {
3679-
treeDataProvider.clearErrorHints(false); // Clear only build errors
3680-
updateHintsStatusBarItem(false);
3681-
});
3678+
vscode.commands.registerCommand(
3679+
"espIdf.errorHints.clearBuildErrors",
3680+
() => {
3681+
treeDataProvider.clearErrorHints(false); // Clear only build errors
3682+
updateHintsStatusBarItem(false);
3683+
}
3684+
);
36823685

36833686
vscode.commands.registerCommand(
36843687
"espIdf.errorHints.clearOpenOCDErrors",
@@ -3742,10 +3745,7 @@ export async function activate(context: vscode.ExtensionContext) {
37423745

37433746
// Process all errors and collect hints
37443747
for (const { diagnostic } of espIdfDiagnostics) {
3745-
await treeDataProvider.searchError(
3746-
diagnostic.message,
3747-
workspaceRoot
3748-
);
3748+
await treeDataProvider.searchError(diagnostic.message, workspaceRoot);
37493749
}
37503750
};
37513751

0 commit comments

Comments
 (0)