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:
parent
ef033de91f
commit
cfbdccf265
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user