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:
@@ -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('/**')) {
|
||||
|
||||
Reference in New Issue
Block a user