Commit 5d1d146
committed
refactor: DRYs text file extension handling
Removes the dedicated text file extensions constant and instead relies on the `TextExtension` enum defined within supported file types.
This change improves maintainability and consolidates file type definitions.1 parent 94a06de commit 5d1d146
File tree
2 files changed
+3
-38
lines changed- tools/server/webui/src/lib
- constants
- utils
2 files changed
+3
-38
lines changedLines changed: 0 additions & 36 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments