Skip to content

Commit

Permalink
Fix builder.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Nov 30, 2017
1 parent 66859e1 commit 109da24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

## Contents

* [Even or odd number](even-or-odd-number.md)
* [Greatest common divisor gcd](greatest-common-divisor-gcd.md)
* [RGB to hexadecimal](RGB-to-hexadecimal.md)
* [Sort characters in string alphabetical](sort-characters-in-string-alphabetical.md)
* [Sum of array of numbers](sum-of-array-of-numbers.md)
* [Unique values of array](unique-values-of-array.md)
* [Even or odd number](#even-or-odd-number)
* [Greatest common divisor gcd](#greatest-common-divisor-gcd)
* [RGB to hexadecimal](#RGB-to-hexadecimal)
* [Sort characters in string alphabetical](#sort-characters-in-string-alphabetical)
* [Sum of array of numbers](#sum-of-array-of-numbers)
* [Unique values of array](#unique-values-of-array)

### Even or odd number

Expand Down
2 changes: 1 addition & 1 deletion scripts/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ catch (err){
try {
output += `${startPart+'\n'}`;
for(var snippet of Object.entries(snippets))
output += `* [${snippet[0][0].toUpperCase() + snippet[0].replace(/-/g,' ').slice(1,snippet[0].length-3)}](${snippet[0]})\n`
output += `* [${snippet[0][0].toUpperCase() + snippet[0].replace(/-/g,' ').slice(1,snippet[0].length-3)}](#${snippet[0].slice(0,snippet[0].length-3)})\n`
output += '\n';
for(var snippet of Object.entries(snippets))
output += `${snippet[1]+'\n'}`;
Expand Down

0 comments on commit 109da24

Please sign in to comment.