()
| 475 | } |
| 476 | |
| 477 | async saveSettings() { |
| 478 | // Immediate, awaitable write (migrations rely on this). Supersede any pending |
| 479 | // debounced write so the same settings aren't redundantly rewritten after. |
| 480 | this.requestSave.cancel(); |
| 481 | await this.saveData(this.settings); |
| 482 | } |
| 483 | |
| 484 | private addCommandsForChoices(choices: IChoice[]) { |
| 485 | for (const choice of choices) { |
no test coverage detected