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`.
This commit is contained in:
Canop 2021-10-12 15:09:28 +02:00
parent 9475e609b8
commit e5cfe844c9

4
.gitignore vendored
View File

@ -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