Commit 5bd5a43
committed
CommandRunner: do not add new command to the index
I may regret this later. But it is much simpler and easier to understand
if we just run the command class directly, rather than wrapping it in a
new CommandInfo and then adding it to the PluginIndex.
If we later decide to restore the PluginIndex-modifying behavior, let's
do it in a nicer way where we have a method in CommandService that does
this work, rather than needing to recapitulate its internals here.1 parent 0931e1c commit 5bd5a43
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
0 commit comments