Merge pull request #1935 from spotify/rugvip/out
cli: fix stdout not being logged in e2e test cmd failures
This commit is contained in:
@@ -60,6 +60,9 @@ async function runPlain(cmd, options) {
|
||||
});
|
||||
return stdout.trim();
|
||||
} catch (error) {
|
||||
if (error.stdout) {
|
||||
process.stdout.write(error.stdout);
|
||||
}
|
||||
if (error.stderr) {
|
||||
process.stderr.write(error.stderr);
|
||||
}
|
||||
|
||||
@@ -12,9 +12,10 @@ import { useHotCleanup } from '@backstage/backend-common';
|
||||
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
config,
|
||||
database,
|
||||
}: PluginEnvironment) {
|
||||
const locationReader = new LocationReaders(logger);
|
||||
const locationReader = new LocationReaders({ logger, config });
|
||||
|
||||
const db = await DatabaseManager.createDatabase(database, { logger });
|
||||
const entitiesCatalog = new DatabaseEntitiesCatalog(db);
|
||||
|
||||
Reference in New Issue
Block a user