feat: 更新工作流路径至用户主目录,优化文件引用

This commit is contained in:
catlog22
2026-02-07 23:45:55 +08:00
parent 41cff28799
commit 50570a9820
11 changed files with 22 additions and 22 deletions

View File

@@ -150,7 +150,7 @@ function writePrototypeHtml(filePath: string, target: string, style: number, lay
describe('ui_generate_preview visual regression', () => {
const prototypesDir = mkdtempSync(join(tmpdir(), 'ccw-ui-generate-preview-'));
const templatePath = resolve(process.cwd(), '.claude/workflows/_template-compare-matrix.html');
const templatePath = resolve(process.cwd(), '~/.ccw/workflows/_template-compare-matrix.html');
let server: StaticServer | undefined;
let browser: import('playwright').Browser | undefined;