1
0
mirror of https://github.com/github/gitignore synced 2024-11-25 21:24:23 +01:00

fix gitignore syntax

Some .gitignore parsers interpret directory vs non-directory patterns strictly (e.g. monochromegane/go-gitignore), so a `node_modules` pattern would not necessarily match against a real `node_modules` directory. It's generally safe to add a trailing slash to directory .gitignore patterns.
This commit is contained in:
Andrew Pennebaker 2016-12-07 16:42:45 -06:00 committed by GitHub
parent ef033de91f
commit cfbdccf265

View File

@ -28,8 +28,8 @@ coverage
build/Release
# Dependency directories
node_modules
jspm_packages
node_modules/
jspm_packages/
# Optional npm cache directory
.npm