Skip to content

Handle case of existing gitignore no newline end#916

Merged
justin808 merged 1 commit intomasterfrom
fix-gitignore-append-generator
Aug 17, 2017
Merged

Handle case of existing gitignore no newline end#916
justin808 merged 1 commit intomasterfrom
fix-gitignore-append-generator

Conversation

@justin808
Copy link
Copy Markdown
Member

@justin808 justin808 commented Aug 16, 2017

keep blank line at top in case existing .gitignore does not end in a
newline

If file ended with the coverage line below and no newline at the end, this got generated:

#lib genrerated from simplecov
coverage# React on Rails
npm-debug.log*
node_modules

This change is Reviewable

@justin808 justin808 force-pushed the fix-gitignore-append-generator branch from d50ba6b to d70f330 Compare August 17, 2017 06:37
keep blank line at top in case existing .gitignore does not end in a
newline
@justin808 justin808 force-pushed the fix-gitignore-append-generator branch from d70f330 to ec5da26 Compare August 17, 2017 07:07
@justin808 justin808 merged commit 01c5cfc into master Aug 17, 2017
@justin808 justin808 deleted the fix-gitignore-append-generator branch August 17, 2017 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant