Commit b623165
committed
refactor: streamline code environment detection and remove redundant method
- Replaced `getAllPrograms` with `getCodeEnvironments` for consistency and public access.
- Removed the private `getAllPrograms` method in favor of consolidated logic.
- Adjusted usage across detection methods to align with the updated method structure.1 parent 0ed0b93 commit b623165
1 file changed
+4
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 66 | + | |
79 | 67 | | |
80 | 68 | | |
81 | 69 | | |
82 | 70 | | |
83 | 71 | | |
84 | | - | |
| 72 | + | |
85 | 73 | | |
86 | 74 | | |
0 commit comments