1
0
mirror of https://github.com/sasjs/lint.git synced 2025-12-10 17:34:36 +00:00

chore: quick fix

This commit is contained in:
2023-01-10 15:32:57 +05:00
parent b6e9ee0825
commit e6dc319844

View File

@@ -5,9 +5,6 @@ import { splitText } from './splitText'
* This funtion returns the number of lines header spans upon.
*/
export const getHeaderLinesCount = (text: string, config: LintConfig) => {
text = text.replace('/*', '/**')
text = text.replace('*/', '**/')
let count = 0
if (text.trimStart().startsWith('/**')) {