Skip to content

Commit a8455fe

Browse files
committed
🔧 fix(type generator): clean up temp files after generation
1 parent 30bcb88 commit a8455fe

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.3.7
2+
Improvement:
3+
- type generator: clean up temp files after generation
4+
15
# 1.3.6 - 3 Sep 2025
26
Improvement:
37
- type generator: add loose path type matching

src/gen/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,7 @@ export const fromTypes =
217217
console.warn(error)
218218

219219
return
220+
} finally {
221+
rmSync(tmpRoot, { recursive: true, force: true })
220222
}
221223
}

0 commit comments

Comments
 (0)