mirror of
https://github.com/sasjs/lint.git
synced 2026-01-05 11:40:06 +00:00
fix(parseMacro): updated to have macros with parameters + options
This commit is contained in:
@@ -43,6 +43,7 @@ export const parseMacros = (text: string, config?: LintConfig): Macro[] => {
|
||||
const name = trimmedStatement
|
||||
.slice(7, trimmedStatement.length)
|
||||
.trim()
|
||||
.split('/')[0]
|
||||
.split('(')[0]
|
||||
macroStack.push({
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user