Merge pull request #3764 from backstage/orkohunter/techdocs-backend-refactor-factory-methods

This commit is contained in:
Himanshu Mishra
2020-12-21 19:10:38 +01:00
committed by GitHub
9 changed files with 158 additions and 75 deletions
@@ -59,7 +59,7 @@ export async function startStandaloneServer(
const techdocsGenerator = new TechdocsGenerator(logger, config);
generators.register('techdocs', techdocsGenerator);
const publisher = Publisher.fromConfig(config, logger, discovery);
const publisher = await Publisher.fromConfig(config, { logger, discovery });
const dockerClient = new Docker();