mirror of
https://github.com/github/gitignore
synced 2024-11-22 03:34: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:
parent
ef033de91f
commit
cfbdccf265
@ -28,8 +28,8 @@ coverage
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules
|
||||
jspm_packages
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
Loading…
Reference in New Issue
Block a user