Skip to content

Commit

Permalink
fix deploy links
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Mar 5, 2020
1 parent 90f2620 commit 4358c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function run() {
const pageDetailsTable = createComparisonTable(pageResults, {
computeBundleLabel: bundleId => {
// a page
if (bundleId.startsWith('/')) {
if (bundleId.startsWith('docs:/')) {
const host = `https://deploy-preview-${danger.github.pr.number}--material-ui.netlify.com`;
const page = bundleId.replace(/^docs:/, '');
return `[${page}](${host}${page})`;
Expand Down

0 comments on commit 4358c17

Please sign in to comment.