(filePath)
| 144 | } |
| 145 | |
| 146 | function readOptional(filePath) { |
| 147 | return existsSync(filePath) ? readFileSync(filePath, "utf8") : ""; |
| 148 | } |
| 149 | |
| 150 | function addFailure({ ruleId, title, file, problem, why, fix }) { |
| 151 | for (const [field, value] of Object.entries({ ruleId, title, file, problem, why, fix })) { |
no outgoing calls
no test coverage detected