Skip to content

Commit

Permalink
fix(dashboard): double line return after note (#24690)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Sep 28, 2023
1 parent d690b5f commit 5befa30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/workers/repository/dependency-dashboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ describe('workers/repository/dependency-dashboard', () => {

describe('PackageFiles.getDashboardMarkdown()', () => {
const note =
'> **Note**\n> Detected dependencies section has been truncated\n';
'> **Note**\n\n> Detected dependencies section has been truncated\n';
const title = `## Detected dependencies\n\n`;

beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/repository/package-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class PackageFiles {
*/
static getDashboardMarkdown(maxLength: number, setHeader = true): string {
const note =
'> **Note**\n> Detected dependencies section has been truncated\n';
'> **Note**\n\n> Detected dependencies section has been truncated\n';
const title = `## Detected dependencies\n\n`;

// exclude header length from the available space
Expand Down

0 comments on commit 5befa30

Please sign in to comment.