1
0
mirror of https://github.com/github/gitignore synced 2024-11-29 07:04:22 +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 build/Release
# Dependency directories # Dependency directories
node_modules node_modules/
jspm_packages jspm_packages/
# Optional npm cache directory # Optional npm cache directory
.npm .npm