Skip to content
New issue

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

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

Already on GitHub? # to your account

File must end with a newline with empty files #723

Closed
pgreze opened this issue Apr 7, 2020 · 0 comments · Fixed by #733
Closed

File must end with a newline with empty files #723

pgreze opened this issue Apr 7, 2020 · 0 comments · Fixed by #733
Labels

Comments

@pgreze
Copy link

pgreze commented Apr 7, 2020

Expected Behavior

This is expecting for a build.gradle.kts file with no content.
Expected behavior should be no error.

Observed Behavior

.../build.gradle.kts:1:1: File must end with a newline (\n)

Your Environment

  • Version of ktlint used: id("org.jlleitschuh.gradle.ktlint") version "9.2.1"
  • Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): Gradle plugin
  • Version of Gradle used (if applicable): 6.0.1
  • Operating System and version: OSX
  • Link to your project (if it's a public repository): https://github.com/pgreze/kowners
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants