Skip to content

Commit e5cfe84

Browse files
committed
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`.
1 parent 9475e60 commit e5cfe84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ __pycache__/
6969
*$py.class
7070

7171
## Node
72-
**node_modules
73-
**package-lock.json
72+
node_modules
73+
package-lock.json
7474

7575
## Rustdoc GUI tests
7676
src/test/rustdoc-gui/src/**.lock

0 commit comments

Comments
 (0)