Skip to content

Commit

Permalink
Update file paths for markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsvit committed Jan 31, 2024
1 parent e0cc1db commit 241d32d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/helper/markdown/output_markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ let outputMarkdown = (function () {
}
let setPublicContributionsPath = function (country) {
let fileName = setCountryName(country)
return `markdown/public_contributions/${fileName}.md`;
return `docs/public_contributions/${fileName}.md`;
}
let setTotalContributionsPath = function (country) {
let fileName = setCountryName(country)
return `markdown/total_contributions/${fileName}.md`;
return `docs/total_contributions/${fileName}.md`;
}
let setFollowersPath = function (country) {
let fileName = setCountryName(country)
return `markdown/followers/${fileName}.md`;
return `docs/followers/${fileName}.md`;
}
let saveIndexMarkdownFile = async function (markdown) {
await markdownFile.outputMarkdownFile(setIndexPath(), markdown);
Expand Down

0 comments on commit 241d32d

Please sign in to comment.