diff options
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 70be96cf6..8ccf790fc 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -15,6 +15,7 @@ import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../mi | |||
15 | import { AbusesCommand } from '../moderation' | 15 | import { AbusesCommand } from '../moderation' |
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | ||
18 | 19 | ||
19 | interface ServerInfo { | 20 | interface ServerInfo { |
20 | app: ChildProcess | 21 | app: ChildProcess |
@@ -75,6 +76,7 @@ interface ServerInfo { | |||
75 | logsCommand?: LogsCommand | 76 | logsCommand?: LogsCommand |
76 | abusesCommand?: AbusesCommand | 77 | abusesCommand?: AbusesCommand |
77 | overviewsCommand?: OverviewsCommand | 78 | overviewsCommand?: OverviewsCommand |
79 | searchCommand?: SearchCommand | ||
78 | } | 80 | } |
79 | 81 | ||
80 | function parallelTests () { | 82 | function parallelTests () { |
@@ -287,6 +289,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
287 | server.logsCommand = new LogsCommand(server) | 289 | server.logsCommand = new LogsCommand(server) |
288 | server.abusesCommand = new AbusesCommand(server) | 290 | server.abusesCommand = new AbusesCommand(server) |
289 | server.overviewsCommand = new OverviewsCommand(server) | 291 | server.overviewsCommand = new OverviewsCommand(server) |
292 | server.searchCommand = new SearchCommand(server) | ||
290 | 293 | ||
291 | res(server) | 294 | res(server) |
292 | }) | 295 | }) |