Skip to content

Commit db4c1b0

Browse files
removed call to getContributors for non-article and non-workbook paths. these don't appear to be displayed, so lets not waste time calling for them
1 parent f4775a9 commit db4c1b0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

scripts/generate_learning_path_markdown.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const getYouTubeImage = (youTubeCode) => {
5757

5858
let { indexContent, ...indexFrontMatter } = yamlFront.loadFront(fs.readFileSync(indexReadPath, 'utf-8'), { contentKeyName: 'indexContent' })
5959
indexFrontMatter.image = section.image
60-
indexFrontMatter.contributors = await getContributors(relative('..', readPath))
6160
indexFrontMatter.weight = sectionDataIndex
6261

6362
if (!indexTranslated) {

0 commit comments

Comments
 (0)