We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2473435 commit 0caf0caCopy full SHA for 0caf0ca
arduino-ide-extension/src/browser/contributions/ino-language.ts
@@ -92,8 +92,10 @@ export class InoLanguage extends SketchContribution {
92
`Failed to sanitize the FQBN of the running language server. FQBN with the board settings was: ${this.languageServerFqbn}`
93
);
94
}
95
+ // The incoming FQBNs might contain custom boards configs, sanitize them before the comparison.
96
+ // https://github.com/arduino/arduino-ide/pull/2113#pullrequestreview-1499998328
97
const matchingFqbn = dataChangePerFqbn.find(
- (fqbn) => sanitizedFqbn === fqbn
98
+ (fqbn) => sanitizedFqbn === sanitizeFqbn(fqbn)
99
100
const { boardsConfig } = this.boardsServiceProvider;
101
if (
0 commit comments