AnalyzeOverExposureParams.writeFile method
AnalyzeOverExposureParams › writeFile
Writes the tightened contents of a changed file back to disk. Required whenshouldFix is true; ignored otherwise.Signature:
writeFile(this: void, path: string, content: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| path | string | Absolute path of the file to write (original casing, as stored in the program). |
| content | string | The full new file contents. |
Returns: void