Commit be5efb5
committed
fix: run auto-upgrade for all commands, not just bare openboot
Move updater.AutoUpgrade() from RunE (root command only) to
PersistentPreRunE so subcommands like snapshot, diff, sync, etc.
also trigger the self-update check.1 parent 4a0f509 commit be5efb5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments