mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-10 02:48:33 +00:00
ATL-658: IDE can use any pinned version of CLI.
- Pinned the CLI to the `20201104` nightly. - Updated the TS/JS API generator to fall back to forks if configured. - Updated the CLI JSON schema. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -15,6 +15,11 @@ export class ConfigFileValidator {
|
||||
protected async doValidate(object: object): Promise<boolean> {
|
||||
const valid = this.function(object);
|
||||
if (!valid) {
|
||||
if (Array.isArray(this.function.errors)) {
|
||||
for (const error of this.function.errors) {
|
||||
console.log(JSON.stringify(error));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (!DefaultCliConfig.is(object)) {
|
||||
|
||||
Reference in New Issue
Block a user