fix: clear phases directory when creating new milestone (#1588) (#1594)

* fix: clear phases directory when creating new milestone (#1588)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* ci: re-run CI with Windows pointer lifecycle fix in main

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-03 11:56:37 -04:00
committed by GitHub
parent 7e005c8d96
commit d92cd7922a
4 changed files with 141 additions and 1 deletions

View File

@@ -583,8 +583,10 @@ async function runCommand(command, args, cwd, raw) {
includeArchived: args.includes('--include-archived'),
};
phase.cmdPhasesList(cwd, options, raw);
} else if (subcommand === 'clear') {
milestone.cmdPhasesClear(cwd, raw);
} else {
error('Unknown phases subcommand. Available: list');
error('Unknown phases subcommand. Available: list, clear');
}
break;
}