diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 14:14:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-05 14:24:27 +0200 |
commit | 841ddf8886f87ee694b604d2d0948326a6f9b4bb (patch) | |
tree | 0c1941b9132ae5352e276d85b668ec0f65e2df2a /scripts/plugin/uninstall.ts | |
parent | 257fa0d1a06b0110335ca53fb6cd341b6759fa5a (diff) | |
download | PeerTube-841ddf8886f87ee694b604d2d0948326a6f9b4bb.tar.gz PeerTube-841ddf8886f87ee694b604d2d0948326a6f9b4bb.tar.zst PeerTube-841ddf8886f87ee694b604d2d0948326a6f9b4bb.zip |
Don't call plugin register/unregister methods
Diffstat (limited to 'scripts/plugin/uninstall.ts')
-rwxr-xr-x | scripts/plugin/uninstall.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plugin/uninstall.ts b/scripts/plugin/uninstall.ts index 152b651dd..770594685 100755 --- a/scripts/plugin/uninstall.ts +++ b/scripts/plugin/uninstall.ts | |||
@@ -25,5 +25,5 @@ async function run () { | |||
25 | await initDatabaseModels(true) | 25 | await initDatabaseModels(true) |
26 | 26 | ||
27 | const toUninstall = options.npmName | 27 | const toUninstall = options.npmName |
28 | await PluginManager.Instance.uninstall(toUninstall) | 28 | await PluginManager.Instance.uninstall({ npmName: toUninstall, unregister: false }) |
29 | } | 29 | } |