Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
alomerry committed Nov 5, 2023
1 parent 07ff497 commit f8ec03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/convert-alias.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function run() {
// })
}

// 将 [code](@IOI/xxx.go) => [code](<<< @/algorithm/leet-code/xxx.go)
// 将 [code](@IOI/xxx.go) => [code](<<< @/others/algorithm/leet-code/xxx.go)
function convertIOIAlias2Link(convertQueue) {
const IOIDir = [
"./ioi",
Expand Down Expand Up @@ -44,7 +44,7 @@ function convertIOIAlias(markdownPath) {
let category = getLeetCodeCategoryByPath(markdownPath);
console.log(`${log.File(markdownPath)}`)
if (category) {
let res = "<<< @/algorithm/"+category;
let res = "<<< @/others/algorithm/"+category;
console.log(` ${log.Success("convert done")}: ${log.Blue("@IOI")} => ${log.Path(res)}`)
mdContent = mdContent.replace("@IOI", res)
fs.writeFileSync(markdownPath, mdContent, 'utf8')
Expand Down

0 comments on commit f8ec03e

Please sign in to comment.