(errors: any)
| 323 | } |
| 324 | |
| 325 | private updateErrors(errors: any): void { |
| 326 | this.updating = true; |
| 327 | try { |
| 328 | this.showErrorWithInfo(elementId.configNameInvalid, errors.name); |
| 329 | this.showErrorWithInfo(elementId.intelliSenseModeInvalid, errors.intelliSenseMode); |
| 330 | this.showErrorWithInfo(elementId.compilerPathInvalid, errors.compilerPath); |
| 331 | this.showErrorWithInfo(elementId.includePathInvalid, errors.includePath); |
| 332 | this.showErrorWithInfo(elementId.macFrameworkPathInvalid, errors.macFrameworkPath); |
| 333 | this.showErrorWithInfo(elementId.forcedIncludeInvalid, errors.forcedInclude); |
| 334 | this.showErrorWithInfo(elementId.compileCommandsInvalid, errors.compileCommands); |
| 335 | this.showErrorWithInfo(elementId.browsePathInvalid, errors.browsePath); |
| 336 | this.showErrorWithInfo(elementId.databaseFilenameInvalid, errors.databaseFilename); |
| 337 | this.showErrorWithInfo(elementId.dotConfigInvalid, errors.dotConfig); |
| 338 | } finally { |
| 339 | this.updating = false; |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | private showErrorWithInfo(elementID: string, errorInfo: string): void { |
| 344 | this.showElement(elementID, errorInfo ? true : false); |
no test coverage detected