Commit 16e09a4
committed
fix: clone marketplace before auto-installing plugin when manifest not found
When auto-installing a plugin from a marketplace that hasn't been
cloned yet, loadMarketplaceManifest throws because the manifest file
doesn't exist. The empty catch block previously just fell through to
installPlugin, which would fail with the same error.
Now the catch block attempts to clone/update the marketplace before
falling through, so installPlugin can succeed.1 parent 1717249 commit 16e09a4
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
0 commit comments