Fix legacy migration not moving _wds/ to _bmad/wds/

wdsFolder was initialized from detection.folder ('_wds') but the
migrate-update branch never reassigned it to WDS_FOLDER ('_bmad/wds').
This caused the migration check (wdsFolder !== '_wds') to be false,
silently skipping the folder move.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mårten Angner 2026-03-01 15:50:50 +01:00
parent 5230b1249f
commit 2df113cf5f
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class UI {
if (choice === 'migrate-update') { if (choice === 'migrate-update') {
action = 'update'; action = 'update';
// wdsFolder stays as WDS_FOLDER (_bmad/wds) wdsFolder = WDS_FOLDER;
} else if (choice === 'legacy-update') { } else if (choice === 'legacy-update') {
action = 'update'; action = 'update';
wdsFolder = LEGACY_WDS_FOLDER; wdsFolder = LEGACY_WDS_FOLDER;