> This page is for SDKs, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 3.38.1

**`(fix):`** Preserve existing README.md when the generator does not produce one. Previously,
`overwriteLocalContents` deleted all files before copying generator output, so if
README generation failed silently the file was removed from the target repository.
The method now skips deleting README.md when the source directory does not include it.