X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Ftools%2Fpeertube-plugins.ts;h=c51d9ebd143a29ff4579356d78b21c9d36165dc6;hb=bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce;hp=9dd3f08c90095a2d20bf3670a3553c2394c7ffd6;hpb=3a1157a68a70e90df21f743ea15154805649b8e5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/peertube-plugins.ts b/server/tools/peertube-plugins.ts index 9dd3f08c9..c51d9ebd1 100644 --- a/server/tools/peertube-plugins.ts +++ b/server/tools/peertube-plugins.ts @@ -1,13 +1,8 @@ -// eslint-disable @typescript-eslint/no-unnecessary-type-assertion - -import { registerTSPaths } from '../helpers/register-ts-paths' -registerTSPaths() - -import { program, Command, OptionValues } from 'commander' -import { assignToken, buildServer, getServerCredentials } from './cli' -import { PluginType } from '../../shared/models' -import { isAbsolute } from 'path' import CliTable3 from 'cli-table3' +import { Command, OptionValues, program } from 'commander' +import { isAbsolute } from 'path' +import { PluginType } from '../../shared/models' +import { assignToken, buildServer, getServerCredentials } from './cli' program .name('plugins') @@ -74,7 +69,7 @@ async function pluginsListCLI (command: Command, options: OptionValues) { const table = new CliTable3({ head: [ 'name', 'version', 'homepage' ], - colWidths: [ 50, 10, 50 ] + colWidths: [ 50, 20, 50 ] }) as any for (const plugin of data) {