1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 06:36:33 +02:00

Fix typo in JsDocs and ScssDocs shortcodes comments

This commit is contained in:
Julien Déramond
2025-07-01 22:58:50 +02:00
parent 9fce97c4b2
commit 7d12ff7b3b
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ try {
content = matches[1]
// Fix the identation by removing extra spaces at the beginning of each line
// Fix the indentation by removing extra spaces at the beginning of each line
const lines = content.split('\n')
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0

View File

@@ -42,7 +42,7 @@ try {
content = matches[1].replaceAll(' !default', '')
// Fix the identation by removing extra spaces at the beginning of each line
// Fix the indentation by removing extra spaces at the beginning of each line
const lines = content.split('\n')
const spaceCounts = lines.filter((line) => line.trim().length > 0).map((line) => line.match(/^ */)[0].length)
const minSpaces = spaceCounts.length ? Math.min(...spaceCounts) : 0