Skip to content

Commit 7d12ff7

Browse files
Fix typo in JsDocs and ScssDocs shortcodes comments
1 parent 9fce97c commit 7d12ff7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

site/src/components/shortcodes/JsDocs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ try {
4040
4141
content = matches[1]
4242
43-
// Fix the identation by removing extra spaces at the beginning of each line
43+
// Fix the indentation by removing extra spaces at the beginning of each line
4444
const lines = content.split('\n')
4545
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
4646
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0

site/src/components/shortcodes/ScssDocs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ try {
4242
4343
content = matches[1].replaceAll(' !default', '')
4444
45-
// Fix the identation by removing extra spaces at the beginning of each line
45+
// Fix the indentation by removing extra spaces at the beginning of each line
4646
const lines = content.split('\n')
4747
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
4848
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0

0 commit comments

Comments
 (0)