Skip to content

Commit 80ab419

Browse files
committed
fix: add debug step to diagnose CI logger.formatTool failure
1 parent 4c4fd0a commit 80ab419

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/release-dev.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,22 @@ jobs:
123123
working-directory: console
124124
run: bun install
125125

126+
- name: Verify logger.ts content
127+
working-directory: console
128+
run: |
129+
echo "=== logger.ts line count ==="
130+
wc -l src/utils/logger.ts
131+
echo "=== formatTool present? ==="
132+
grep -n "formatTool" src/utils/logger.ts || echo "MISSING: formatTool not found!"
133+
echo "=== file type ==="
134+
file src/utils/logger.ts
135+
echo "=== first 5 lines ==="
136+
head -5 src/utils/logger.ts
137+
echo "=== export line ==="
138+
grep "export const logger" src/utils/logger.ts || echo "MISSING: no logger export!"
139+
echo "=== git-crypt status ==="
140+
git-crypt status -- console/src/utils/logger.ts || true
141+
126142
- name: Run console tests
127143
working-directory: console
128144
run: bun test

0 commit comments

Comments
 (0)