diff --git a/lib/workers/pr/pr-body.js b/lib/workers/pr/pr-body.js index cdb7195daf565b0e8ceb6bb8b6714f42f8944a38..ad164a4bcf5e6e7a670ead0b168f5198c8976ec2 100644 --- a/lib/workers/pr/pr-body.js +++ b/lib/workers/pr/pr-body.js @@ -85,7 +85,7 @@ async function getPrBody(config) { } prBody += '\n\nThis PR contains the following updates:\n\n'; prBody += '| ' + tableColumns.join(' | ') + ' |\n'; - prBody += '|' + tableColumns.map(() => '--|').join('') + '\n'; + prBody += '|' + tableColumns.map(() => '---|').join('') + '\n'; const rows = []; for (const row of tableValues) { let val = '|'; diff --git a/test/workers/pr/__snapshots__/index.spec.js.snap b/test/workers/pr/__snapshots__/index.spec.js.snap index 32b395821dc6c4833f204dc1f89835e2d019ab42..64120872f886047a22333fa65b5481cbfefcee1f 100644 --- a/test/workers/pr/__snapshots__/index.spec.js.snap +++ b/test/workers/pr/__snapshots__/index.spec.js.snap @@ -31,7 +31,7 @@ Array [ "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | pin | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | :pushpin: **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset \`:preserveSemverRanges\` your config if you instead don't wish to pin dependencies. @@ -73,7 +73,7 @@ Array [ "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | minor | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | --- @@ -113,7 +113,7 @@ Array [ "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | lockFileMaintenance | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | | a | | | aaaaaaa | | | b | | pin | | | @@ -170,7 +170,7 @@ Array [ "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | minor | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | --- @@ -208,7 +208,7 @@ Object { "body": "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | minor | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | --- @@ -246,7 +246,7 @@ Object { "body": "This PR contains the following updates: | Package | Type | Update | New value | References | -|--|--|--|--|--| +|---|---|---|---|---| | dummy | devDependencies | minor | 1.1.0 | [homepage](https://dummy.com), [source](https://github.com/renovateapp/dummy), [changelog](https://github.com/renovateapp/dummy/changelog.md) | ---