From e5cfe844c9d5c2e1e21cf97afd5f1ecbb99abc46 Mon Sep 17 00:00:00 2001 From: Canop Date: Tue, 12 Oct 2021 15:09:28 +0200 Subject: [PATCH] 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`. --- .gitignore | 4 ++-- 1 file 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