Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed May 8, 2024
1 parent b5ba5fc commit 058ed37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/commands/switchSDK.mts
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,13 @@ export default class SwitchSDKCommand extends Command {
// notify user that reloading the window is
// recommended to update intellisense
const reload = await window.showInformationMessage(
"It is recommended to reload the window to update intellisense with the new SDK version.",
"It is recommended to reload the window to update intellisense " +
"with the new SDK version.",
reloadWindowBtn
);

if (reload === reloadWindowBtn) {
commands.executeCommand("workbench.action.reloadWindow");
void commands.executeCommand("workbench.action.reloadWindow");
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/utils/vscodeConfigUtil.mts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ async function updateCppPropertiesFile(
);
// Add the new pico-sdk forcedInclude
config.forcedInclude.push(
`\${userHome}/.pico-sdk/sdk/${newSDKVersion}/src/common/pico_base/include/pico.h`
`\${userHome}/.pico-sdk/sdk/${newSDKVersion}` +
"/src/common/pico_base/include/pico.h"
);

// Update the compilerPath
Expand Down

0 comments on commit 058ed37

Please sign in to comment.