(result: boolean | CheckResult)
| 120 | } |
| 121 | |
| 122 | private normalizeCheckResult(result: boolean | CheckResult): CheckResult { |
| 123 | if (typeof result === "boolean") { |
| 124 | if (result) { |
| 125 | return { canSave: true, canEnable: true }; |
| 126 | } |
| 127 | return { canSave: false, canEnable: false }; |
| 128 | } |
| 129 | return result; |
| 130 | } |
| 131 | |
| 132 | load(): boolean { |
| 133 | let status = true; |
no outgoing calls
no test coverage detected