Skip to content

Commit 0fa7c48

Browse files
committed
fix: add debug step to release.yml (runs on main, not dev)
1 parent 80ab419 commit 0fa7c48

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,22 @@ jobs:
172172
working-directory: console
173173
run: bun install
174174

175+
- name: Verify logger.ts after git-crypt unlock
176+
working-directory: console
177+
run: |
178+
echo "=== file type ==="
179+
file src/utils/logger.ts
180+
echo "=== line count ==="
181+
wc -l src/utils/logger.ts
182+
echo "=== formatTool grep ==="
183+
grep -n "formatTool" src/utils/logger.ts || echo "MISSING: formatTool not in logger.ts!"
184+
echo "=== first 5 lines ==="
185+
head -5 src/utils/logger.ts
186+
echo "=== lines 160-165 ==="
187+
sed -n '160,165p' src/utils/logger.ts
188+
echo "=== bun resolve check ==="
189+
bun -e "import { logger } from './src/utils/logger.js'; console.log('formatTool type:', typeof logger.formatTool); console.log('methods:', Object.getOwnPropertyNames(Object.getPrototypeOf(logger)).join(', '))"
190+
175191
- name: Run console tests
176192
working-directory: console
177193
run: bun test

0 commit comments

Comments
 (0)