aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-03 10:49:36 +0100
committerChocobozzz <me@florianbigard.com>2021-12-03 10:49:36 +0100
commit9213df1d79f9dcbf6d51d27434a98375f7b95411 (patch)
tree1d38ae60ac8334cbb7ba62daae54b77347cb73bb
parent28c6556789e4cd8cc205c3e0672c2fec3d6ca2ab (diff)
downloadPeerTube-9213df1d79f9dcbf6d51d27434a98375f7b95411.tar.gz
PeerTube-9213df1d79f9dcbf6d51d27434a98375f7b95411.tar.zst
PeerTube-9213df1d79f9dcbf6d51d27434a98375f7b95411.zip
Fix comment
-rw-r--r--server/lib/plugins/plugin-manager.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts
index 8add72a85..6c2f4764e 100644
--- a/server/lib/plugins/plugin-manager.ts
+++ b/server/lib/plugins/plugin-manager.ts
@@ -312,12 +312,12 @@ export class PluginManager implements ServerHook {
312 logger.error('Cannot install plugin %s, removing it...', toInstall, { err: rootErr }) 312 logger.error('Cannot install plugin %s, removing it...', toInstall, { err: rootErr })
313 313
314 try { 314 try {
315 // await this.uninstall(npmName) 315 await this.uninstall(npmName)
316 } catch (err) { 316 } catch (err) {
317 logger.error('Cannot uninstall plugin %s after failed installation.', toInstall, { err }) 317 logger.error('Cannot uninstall plugin %s after failed installation.', toInstall, { err })
318 318
319 try { 319 try {
320 // await removeNpmPlugin(npmName) 320 await removeNpmPlugin(npmName)
321 } catch (err) { 321 } catch (err) {
322 logger.error('Cannot remove plugin %s after failed installation.', toInstall, { err }) 322 logger.error('Cannot remove plugin %s after failed installation.', toInstall, { err })
323 } 323 }