(details: string)
| 261 | } |
| 262 | |
| 263 | function createMisConfigurationWarning(details: string): Warning { |
| 264 | return new Warning( |
| 265 | MISCONFIGURATION_DETECTED.type, |
| 266 | MISCONFIGURATION_DETECTED.description, |
| 267 | details, |
| 268 | ); |
| 269 | } |
| 270 | |
| 271 | function calculateContentHash(content: string): string { |
| 272 | return createHash("sha256").update(content, "utf8").digest("hex"); |
no outgoing calls
no test coverage detected