chore: restore backend/.env copy in worktree setup (#8452)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
centdix
2026-03-19 13:16:01 +01:00
committed by GitHub
parent 446afb5b36
commit 278c8fe416

View File

@@ -65,6 +65,11 @@ wm_copy_dependencies() {
local repo_root=$1
local main_repo_root=$2
if [[ -f "${main_repo_root}/backend/.env" ]]; then
cp "${main_repo_root}/backend/.env" "${repo_root}/backend/"
echo "Copied backend/.env"
fi
if [[ -d "${main_repo_root}/frontend/node_modules" ]]; then
cp -a "${main_repo_root}/frontend/node_modules" "${repo_root}/frontend/"
echo "Copied frontend/node_modules (with symlinks preserved)"