Commit 1cf0a53
authored
fix: loadFile ignore ts extend on readFileSync (#294)
eggjs/tegg#283
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Updated the file loading functionality to properly differentiate
TypeScript files from other file types. This modification prevents
unintended processing behavior for TypeScript content, ensuring more
reliable file operations and enhancing overall stability in handling
various file formats.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 799d37f commit 1cf0a53
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments