aboutsummaryrefslogtreecommitdiffstats
path: root/Node.gitignore
diff options
context:
space:
mode:
authorAndrew Pennebaker <andrew.pennebaker@gmail.com>2016-12-07 16:42:45 -0600
committerGitHub <noreply@github.com>2016-12-07 16:42:45 -0600
commitcfbdccf265dec650d22487fd4d5a9a590bcb15e7 (patch)
tree6d025cb8b329d87d19d8db587d992f889bf4a98e /Node.gitignore
parentef033de91f04e2f9df8dbbd2d459c4be59bae507 (diff)
downloadgitignore-cfbdccf265dec650d22487fd4d5a9a590bcb15e7.tar.gz
gitignore-cfbdccf265dec650d22487fd4d5a9a590bcb15e7.zip
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.
Diffstat (limited to 'Node.gitignore')
-rw-r--r--Node.gitignore4
1 files changed, 2 insertions, 2 deletions
diff --git a/Node.gitignore b/Node.gitignore
index 9a439fcd..32bfa0ed 100644
--- a/Node.gitignore
+++ b/Node.gitignore
@@ -28,8 +28,8 @@ coverage
build/Release
# Dependency directories
-node_modules
-jspm_packages
+node_modules/
+jspm_packages/
# Optional npm cache directory
.npm