Commit 54ebbc7
committed
fix: add missing default_version field and current_version method
Files changed:
- src/config/schema.rs: Added default_version field to Config struct
- src/plugins/trait_def.rs: Added current_version() method to VersionManagerPlugin trait
- src/plugins/nvm.rs, fnm.rs, mock.rs: Implemented current_version() method
- src/engines_resolver.rs: New file for smart engines resolution logic
- src/output.rs: Fixed unused parameter warning
- src/activation/orchestrator.rs: Added default_version to test configs, implemented missing trait methods
- src/init/*.rs: Added default_version to all Config initializations
- tests/*.rs: Added default_version field to all test Config instances
- Fixed clippy warnings for inline format strings
- Fixed test assertion for LTS version selection
All tests passing (150 passed)1 parent 62ec295 commit 54ebbc7
File tree
17 files changed
+455
-19
lines changed- src
- activation
- config
- init
- plugins
- tests
17 files changed
+455
-19
lines changedWhitespace-only changes.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
89 | 87 | | |
90 | | - | |
91 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
92 | 111 | | |
93 | 112 | | |
94 | 113 | | |
95 | | - | |
96 | | - | |
97 | 114 | | |
98 | 115 | | |
99 | 116 | | |
| |||
339 | 356 | | |
340 | 357 | | |
341 | 358 | | |
| 359 | + | |
342 | 360 | | |
343 | 361 | | |
344 | 362 | | |
| |||
714 | 732 | | |
715 | 733 | | |
716 | 734 | | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
717 | 744 | | |
718 | 745 | | |
719 | 746 | | |
| |||
764 | 791 | | |
765 | 792 | | |
766 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
767 | 803 | | |
768 | 804 | | |
769 | 805 | | |
| |||
968 | 1004 | | |
969 | 1005 | | |
970 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
971 | 1016 | | |
972 | 1017 | | |
973 | 1018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments