1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00

🐛 Fix @mention in README.md files

This commit is contained in:
Divlo 2020-07-05 17:54:46 +02:00
parent 395ae0eff3
commit e1eb4f73ea
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# hello-world
Created by @Divlo at 5 July 2020.
Created by [@Divlo](https://github.com/Divlo) at 5 July 2020.
## Instructions :

View File

@ -1,4 +1,4 @@
# javascript-hello - hello-world
Programming language : JavaScript
Created by @Divlo at 5 July 2020.
Created by [@Divlo](https://github.com/Divlo) at 5 July 2020.

View File

@ -1,4 +1,4 @@
# python-hello - hello-world
Programming language : Python
Created by @Divlo at 5 July 2020.
Created by [@Divlo](https://github.com/Divlo) at 5 July 2020.

View File

@ -1,4 +1,4 @@
# typescript-hello - hello-world
Programming language : TypeScript
Created by @Divlo at 5 July 2020.
Created by [@Divlo](https://github.com/Divlo) at 5 July 2020.

View File

@ -74,7 +74,7 @@ import date from 'date-and-time'
await replaceInFile({
files: [readmePath],
from: /{{ challengeInfo }}/g,
to: `Created${(userGitHub !== '') ? ` by @${userGitHub}` : ''} at ${date.format(new Date(), 'D MMMM Y', true)}.`
to: `Created${(userGitHub !== '') ? ` by [@${userGitHub}](https://github.com/${userGitHub})` : ''} at ${date.format(new Date(), 'D MMMM Y', true)}.`
})
console.log(`

View File

@ -96,7 +96,7 @@ import copyDirPromise from './utils/copyDirPromise'
})
// Replace {{ solutionInfo }} in README.md
const createdByString = `Created${(userGitHub !== '') ? ` by @${userGitHub}` : ''} at ${date.format(new Date(), 'D MMMM Y', true)}.`
const createdByString = `Created${(userGitHub !== '') ? ` by [@${userGitHub}](https://github.com/${userGitHub})` : ''} at ${date.format(new Date(), 'D MMMM Y', true)}.`
await replaceInFile({
files: [readmePath],
from: /{{ solutionInfo }}/g,