()
| 165 | } |
| 166 | |
| 167 | fixCodeGenerationSettings() { |
| 168 | if (!this.codeGenerationSettings) return |
| 169 | |
| 170 | const defaultCodeGenerationSettings = this.getDefaultCodeGenerationSettings() |
| 171 | |
| 172 | Object.keys(defaultCodeGenerationSettings).forEach((key) => { |
| 173 | if (typeof this.codeGenerationSettings[key] === "undefined") { |
| 174 | this.codeGenerationSettings[key] = defaultCodeGenerationSettings[key] |
| 175 | } |
| 176 | }) |
| 177 | |
| 178 | this.save() |
| 179 | } |
| 180 | |
| 181 | getDefaultCodeGenerationSettings(): ProjectCodeGenerationSettings { |
| 182 | return { |
no test coverage detected