From 209afa825503ce506ad81c43ba3375135fbce7e3 Mon Sep 17 00:00:00 2001 From: omar-nahhas-agent Date: Mon, 3 Aug 2026 01:44:35 +0100 Subject: [PATCH] fix: strip leaked e2e/node_modules symlink from the repo PR #45 accidentally committed e2e/node_modules as a mode-120000 symlink pointing at /a0/usr/workdir/.bdd-deps/node_modules -- a machine-local dep cache path that exists on exactly one machine. Every clone would carry a dangling symlink. .gitignore already had 'node_modules/', but the trailing slash matches only real DIRECTORIES, so a symlink of the same name slips past. Added a bare 'node_modules' pattern alongside it so this cannot recur. --- .gitignore | 4 ++++ e2e/node_modules | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 120000 e2e/node_modules diff --git a/.gitignore b/.gitignore index 8a6d4a3..0d0d0ee 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,7 @@ build/ dist/ .venv/ node_modules/ +# Also match a node_modules SYMLINK: the trailing-slash pattern above only +# matches real directories, so a symlink (e.g. e2e/node_modules -> a shared +# dep cache) slips past it and gets committed. Seen in PR #45. +node_modules diff --git a/e2e/node_modules b/e2e/node_modules deleted file mode 120000 index 64fc00e..0000000 --- a/e2e/node_modules +++ /dev/null @@ -1 +0,0 @@ -/a0/usr/workdir/.bdd-deps/node_modules \ No newline at end of file