diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-09 09:37:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-09 09:37:46 +0200 |
commit | bae930372678692f94601d503eaf7deabaa82a3f (patch) | |
tree | 58dddd58c1a4fe994a41f858451d972e8cee0897 /server/lib/plugins | |
parent | 09d535ef9817a63096dc724cc4d9f0671ee6e5a3 (diff) | |
download | PeerTube-bae930372678692f94601d503eaf7deabaa82a3f.tar.gz PeerTube-bae930372678692f94601d503eaf7deabaa82a3f.tar.zst PeerTube-bae930372678692f94601d503eaf7deabaa82a3f.zip |
Also decache config
Diffstat (limited to 'server/lib/plugins')
-rw-r--r-- | server/lib/plugins/plugin-manager.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts index 0086a0e2e..e3226a950 100644 --- a/server/lib/plugins/plugin-manager.ts +++ b/server/lib/plugins/plugin-manager.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import decache from 'decache' | ||
1 | import * as express from 'express' | 2 | import * as express from 'express' |
2 | import { createReadStream, createWriteStream } from 'fs' | 3 | import { createReadStream, createWriteStream } from 'fs' |
3 | import { outputFile, readJSON } from 'fs-extra' | 4 | import { outputFile, readJSON } from 'fs-extra' |
@@ -23,8 +24,6 @@ import { ClientHtml } from '../client-html' | |||
23 | import { RegisterHelpers } from './register-helpers' | 24 | import { RegisterHelpers } from './register-helpers' |
24 | import { installNpmPlugin, installNpmPluginFromDisk, removeNpmPlugin } from './yarn' | 25 | import { installNpmPlugin, installNpmPluginFromDisk, removeNpmPlugin } from './yarn' |
25 | 26 | ||
26 | const decache = require('decache') | ||
27 | |||
28 | export interface RegisteredPlugin { | 27 | export interface RegisteredPlugin { |
29 | npmName: string | 28 | npmName: string |
30 | name: string | 29 | name: string |