Commit f1a1639
fix: plugins enable/disable only reloads when state changes (#411)
plugins enable now checks if the plugin was already enabled before
setting reload_runtime:true. Same for disable. Returns 'already enabled'
or 'already disabled' in the message when no state change occurred.
Generated with https://github.com/Yeachan-Heo/gajae-code
Co-authored-by: Gajae Code <dev@gajae-code.com>1 parent 8d50276 commit f1a1639
2 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6314 | 6314 | | |
6315 | 6315 | | |
6316 | 6316 | | |
6317 | | - | |
| 6317 | + | |
6318 | 6318 | | |
6319 | 6319 | | |
6320 | 6320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2311 | 2311 | | |
2312 | 2312 | | |
2313 | 2313 | | |
| 2314 | + | |
2314 | 2315 | | |
2315 | 2316 | | |
2316 | 2317 | | |
2317 | | - | |
2318 | | - | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
2319 | 2321 | | |
2320 | | - | |
| 2322 | + | |
2321 | 2323 | | |
2322 | 2324 | | |
2323 | 2325 | | |
| |||
2328 | 2330 | | |
2329 | 2331 | | |
2330 | 2332 | | |
| 2333 | + | |
2331 | 2334 | | |
2332 | 2335 | | |
2333 | 2336 | | |
2334 | | - | |
2335 | | - | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
2336 | 2340 | | |
2337 | | - | |
| 2341 | + | |
2338 | 2342 | | |
2339 | 2343 | | |
2340 | 2344 | | |
| |||
7088 | 7092 | | |
7089 | 7093 | | |
7090 | 7094 | | |
7091 | | - | |
| 7095 | + | |
7092 | 7096 | | |
7093 | 7097 | | |
7094 | 7098 | | |
| |||
7100 | 7104 | | |
7101 | 7105 | | |
7102 | 7106 | | |
7103 | | - | |
| 7107 | + | |
7104 | 7108 | | |
7105 | 7109 | | |
7106 | 7110 | | |
| |||
0 commit comments