Skip to content

JSON files are saved with no newline at the end of file #1382

@kyleoliveiro

Description

@kyleoliveiro

- Do you want to request a feature or report a bug?
Bug

- What is the current behavior?
Netlify CMS saves JSON data without a newline at the end of the file.

- If the current behavior is a bug, please provide the steps to reproduce.
Configure a collection type with format: "json" and extension: "json", then create and publish a new post in the Dashboard.

- What is the expected behavior?
JSON file should created with newline at the end of the file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions