karan / joe

:running: A .gitignore magician in your command line

Home Page:http://karan.github.io/joe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated sections don't always end with newline

chronodm opened this issue · comments

Steps to reproduce:

  1. joe g emacs,java

Expected:

  • Cleanly generated .gitignore for Emacs and Java, e.g.
#### joe made this: http://goel.io/joe
#### emacs ####
(...)
# projectiles files
.projectile

#### java ####
*.class
(...)

Actual:

  • Generated emacs .gitignore doesn't end with newline, producing:
#### joe made this: http://goel.io/joe
#### emacs ####
(...)
# projectiles files
.projectile#### java ####
*.class
(...)

Will fix in next release.