Skip to content

Commit

Permalink
chore: prBanner type
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 5, 2020
1 parent 6d50f6d commit fcc5a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/workers/common.ts
Expand Up @@ -35,6 +35,7 @@ export interface BranchUpgradeConfig
packageFile?: string;

parentBranch?: string;
prBanner?: string;
prBodyNotes?: string[];
prBodyTemplate?: string;
prPriority?: number;
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/pr/body/banner.ts
Expand Up @@ -12,5 +12,5 @@ export function getPrBanner(config: BranchConfig): string {
if (!config.prBanner) {
return '';
}
return template.compile(config.prBanner.toString(), config) + '\n\n';
return template.compile(config.prBanner, config) + '\n\n';
}

0 comments on commit fcc5a46

Please sign in to comment.