()
| 270 | |
| 271 | await Flock.withLock(`tui-theme:${dest}`, async () => { |
| 272 | const save = async () => { |
| 273 | plugin.themes[name] = info |
| 274 | await PluginMeta.setTheme(plugin.id, name, info).catch(() => {}) |
| 275 | } |
| 276 | |
| 277 | const exists = hasTheme(name) |
| 278 | const prev = plugin.themes[name] |
no test coverage detected