Skip to content

Commit 7e48e4e

Browse files
committed
Cleanup
1 parent db4bf44 commit 7e48e4e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/preview-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,16 +523,15 @@ jobs:
523523
return;
524524
}
525525
526-
const toLink = (file) => {
527-
console.log('file', file);
526+
const toMarkdownLink = (file) => {
528527
const path = file
529528
.replace(/^docs\//, '')
530529
.replace(/\/index.md$/, '')
531530
.replace(/\.md$/, '');
532531
return `[${file}](https://docs-v3-preview.elastic.dev${process.env.PATH_PREFIX}/${path})`;
533532
}
534533
535-
const links = changedMdFiles.map(toLink)
534+
const links = changedMdFiles.map(toMarkdownLink)
536535
537536
const body = [
538537
title,

0 commit comments

Comments
 (0)