summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-10-12 15:09:28 +0200
committerCanop <cano.petrole@gmail.com>2021-10-12 15:09:28 +0200
commite5cfe844c9d5c2e1e21cf97afd5f1ecbb99abc46 (patch)
treef5b1b36a37b39b0c6d2a2663db9bf4e3f02b0ca6 /.gitignore
parent9475e609b8458fff9e444934a6017d2e590642cf (diff)
Fix invalid rules in .gitignore
`**node_modules` in a .gitignore is the same than `*node_modules` or `*****node_modules`. It matches every file whose name ends with `node_modules`, including `not_node_modules`. The intent here was obviously to have `**/node_modules` which is the same than just `node_modules`.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index b7e8e8fa157..87437a16fb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,8 +69,8 @@ __pycache__/
*$py.class
## Node
-**node_modules
-**package-lock.json
+node_modules
+package-lock.json
## Rustdoc GUI tests
src/test/rustdoc-gui/src/**.lock