Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(re)generated TOML file doesn't have a new newline end of file #6994

Closed
razonyang opened this issue Nov 25, 2023 · 6 comments
Closed

(re)generated TOML file doesn't have a new newline end of file #6994

razonyang opened this issue Nov 25, 2023 · 6 comments
Labels
type: bug code to address defects in shipped code

Comments

@razonyang
Copy link
Contributor

razonyang commented Nov 25, 2023

Is your feature request related to a problem? Please describe.

I'd like to put a newline at the end of file, but after modifying an entry, that line was removed.

Related PR https://github.com/hbstack/site/pull/723/files.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@razonyang razonyang added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Nov 25, 2023
@sonvir249
Copy link

I am working on this.

@sonvir249
Copy link

@razonyang can you please specify the files?

@razonyang
Copy link
Contributor Author

@sonvir249 I didn't get it.

@sonvir249
Copy link

@razonyang I apologize for any confusion. I've identified a newline at the end of the file in the specified https://github.com/decaporg/decap-cms/blob/master/netlify.toml. Please correct me if I'm wrong.

@razonyang
Copy link
Contributor Author

razonyang commented Nov 27, 2023

@sonvir249 Thanks for taking time on this, I want to add the newline at end of line of TOML files generated by Decap CMS, not source code of Decap CMS.

Those https://github.com/hbstack/site/pull/723/files are generated by Decap CMS (after modifying an entry), but without newline at the end, is there existing an option for this?

@razonyang razonyang changed the title TOML file doesn't have a new newline end of file (re)generated TOML file doesn't have a new newline end of file Nov 27, 2023
@martinjagodic
Copy link
Member

@razonyang this is a known issue, so I am closing this as a duplicate of #1382.

@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
@martinjagodic martinjagodic added type: bug code to address defects in shipped code and removed type: feature code contributing to the implementation of a feature and/or user facing functionality labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

3 participants