You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
TypeError: Cannot read property 'search' of undefined
at FileHeaderWalker.visitSourceFile (\node_modules\tslint\lib\rules\fileHeaderRule.js:61:28)
at FileHeaderWalker.SyntaxWalker.visitNode (\node_modules\tslint\lib\language\walker\syntaxWalker.js:414:22)
at FileHeaderWalker.SyntaxWalker.walk (\node_modules\tslint\lib\language\walker\syntaxWalker.js:7:14)
at Rule.AbstractRule.applyWithWalker (\node_modules\tslint\lib\language\rule\abstractRule.js:19:16)
at Rule.apply (\node_modules\tslint\lib\rules\fileHeaderRule.js:17:21)
at Linter.lint (\node_modules\tslint\lib\tslint.js:68:37)
at processFile (\node_modules\tslint\lib\tslint-cli.js:138:29)
at \node_modules\tslint\lib\tslint-cli.js:177:74
at Array.forEach (native)
at Object.<anonymous> (\node_modules\tslint\lib\tslint-cli.js:177:41)
This is being executed on a file that does not currently contain a file header. The file has code in it, but the entirety of the file is commented out.
The text was updated successfully, but these errors were encountered:
Bug Report
3.15.*
1.8.10
CLI
Stack Trace
Actual behavior
This is being executed on a file that does not currently contain a file header. The file has code in it, but the entirety of the file is commented out.
The text was updated successfully, but these errors were encountered: