1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-09 05:20:06 +00:00

chore: removed redundant property from parsedMacros

This commit is contained in:
Saad Jutt
2021-05-20 23:00:59 +05:00
parent d7721f8e5e
commit 8bfb547427
2 changed files with 0 additions and 11 deletions

View File

@@ -12,7 +12,6 @@ interface Macro {
termination: string
parentMacro: string
hasMacroNameInMend: boolean
hasParentheses: boolean
mismatchedMendMacroName: string
}
@@ -52,7 +51,6 @@ export const parseMacros = (text: string, config?: LintConfig): Macro[] => {
parentMacro: macroStack.length
? macroStack[macroStack.length - 1].name
: '',
hasParentheses: trimmedStatement.endsWith('()'),
hasMacroNameInMend: false,
mismatchedMendMacroName: '',
declarationLine: line,
@@ -79,7 +77,6 @@ export const parseMacros = (text: string, config?: LintConfig): Macro[] => {
startLineNumber: null,
endLineNumber: index + 1,
parentMacro: '',
hasParentheses: false,
hasMacroNameInMend: false,
mismatchedMendMacroName: '',
declarationLine: '',