Commit 8213065
committed
fix(update): serialize InstallMethod enum to string and fix command name
InstallMethod.PIP is a StrEnum — storing it directly in YAML config
raises 'cannot represent an object'. Use .value to store the string.
Also fix 'deepctl update' → 'dg update' in format_version_message
(a second occurrence missed in the earlier rename).1 parent 68fcfd2 commit 8213065
3 files changed
Lines changed: 6 additions & 4 deletions
File tree
- packages/deepctl-cmd-update
- src/deepctl_cmd_update
- tests/unit
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
0 commit comments