Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
radurentea committed Nov 6, 2024
1 parent 00c0620 commit 3b55d49
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,9 @@ export async function activate(context: vscode.ExtensionContext) {
);
if (statusBarItems && statusBarItems["port"]) {
statusBarItems["port"].text =
`$(${commandDictionary[CommandKeys.SelectSerialPort].iconId}) ` +
idfConf.readParameter("idf.port", workspaceRoot);
`$(${
commandDictionary[CommandKeys.SelectSerialPort].iconId
}) ` + idfConf.readParameter("idf.port", workspaceRoot);
}
if (statusBarItems["projectConf"]) {
statusBarItems["projectConf"].dispose();
Expand All @@ -425,10 +426,12 @@ export async function activate(context: vscode.ExtensionContext) {
if (statusBarItems["currentIdfVersion"]) {
statusBarItems["currentIdfVersion"].text = currentIdfSetup.isValid
? `$(${
commandDictionary[CommandKeys.SelectCurrentIdfVersion].iconId
commandDictionary[CommandKeys.SelectCurrentIdfVersion]
.iconId
}) ESP-IDF v${currentIdfSetup.version}`
: `$(${
commandDictionary[CommandKeys.SelectCurrentIdfVersion].iconId
commandDictionary[CommandKeys.SelectCurrentIdfVersion]
.iconId
}) ESP-IDF InvalidSetup`;
}
const coverageOptions = getCoverageOptions(workspaceRoot);
Expand Down Expand Up @@ -463,7 +466,7 @@ export async function activate(context: vscode.ExtensionContext) {
}
ConfserverProcess.dispose();
})
)
);

vscode.debug.onDidTerminateDebugSession((e) => {
if (isOpenOCDLaunchedByDebug && !isDebugRestarted) {
Expand Down Expand Up @@ -3702,7 +3705,11 @@ function checkAndNotifyMissingCompileCommands() {
const msg = error.message
? error.message
: "Error checking for compile_commands.json file.";
Logger.error(msg, error, "extension checkAndNotifyMissingCompileCommands");
Logger.error(
msg,
error,
"extension checkAndNotifyMissingCompileCommands"
);
}
});
}
Expand Down

0 comments on commit 3b55d49

Please sign in to comment.