Skip to content

Commit

Permalink
fix(dependency-dashboard): Adjust dry run log output (#11820)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Sep 20, 2021
1 parent 375a7e5 commit 786bd4e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/workers/repository/dependency-dashboard.ts
Expand Up @@ -115,8 +115,8 @@ export async function ensureDependencyDashboard(
) {
if (getGlobalConfig().dryRun) {
logger.info(
'DRY-RUN: Would close Dependency Dashboard ' +
config.dependencyDashboardTitle
{ title: config.dependencyDashboardTitle },
'DRY-RUN: Would close Dependency Dashboard'
);
} else {
logger.debug('Closing Dependency Dashboard');
Expand All @@ -136,8 +136,8 @@ export async function ensureDependencyDashboard(
if (config.dependencyDashboardAutoclose && !hasBranches) {
if (getGlobalConfig().dryRun) {
logger.info(
'DRY-RUN: Would close Dependency Dashboard ' +
config.dependencyDashboardTitle
{ title: config.dependencyDashboardTitle },
'DRY-RUN: Would close Dependency Dashboard'
);
} else {
logger.debug('Closing Dependency Dashboard');
Expand Down Expand Up @@ -349,8 +349,8 @@ export async function ensureDependencyDashboard(

if (getGlobalConfig().dryRun) {
logger.info(
'DRY-RUN: Would ensure Dependency Dashboard ' +
config.dependencyDashboardTitle
{ title: config.dependencyDashboardTitle },
'DRY-RUN: Would ensure Dependency Dashboard'
);
} else {
await platform.ensureIssue({
Expand Down

0 comments on commit 786bd4e

Please sign in to comment.