File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,24 @@ export function ensureTemplateParser(
33
33
try {
34
34
utils . ensureTemplateParser ( context ) ;
35
35
} catch {
36
+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
36
37
ensureTemplateParserFallback ( context ) ;
37
38
}
38
39
} )
39
- . catch ( ( ) => {
40
- ensureTemplateParserFallback ( context ) ;
41
- } ) ;
40
+ . catch (
41
+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
42
+ ( ) => {
43
+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
44
+ ensureTemplateParserFallback ( context ) ;
45
+ } ,
46
+ ) ;
42
47
} catch {
48
+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
43
49
ensureTemplateParserFallback ( context ) ;
44
50
}
45
51
}
46
52
53
+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
47
54
function ensureTemplateParserFallback (
48
55
context : Readonly < TSESLint . RuleContext < string , ReadonlyArray < unknown > > > ,
49
56
) : void {
You can’t perform that action at this time.
0 commit comments