Rollup merge of #89816 - Canop:master, r=Mark-Simulacrum

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`.

Reference on git ignoring rules format: https://git-scm.com/docs/gitignore
This commit is contained in:
Yuki Okushi 2021-10-13 21:55:15 +09:00 committed by GitHub
commit 7948883754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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