File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,24 @@ export function ensureTemplateParser(
3333 try {
3434 utils . ensureTemplateParser ( context ) ;
3535 } catch {
36+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
3637 ensureTemplateParserFallback ( context ) ;
3738 }
3839 } )
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+ ) ;
4247 } catch {
48+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
4349 ensureTemplateParserFallback ( context ) ;
4450 }
4551}
4652
53+ /* istanbul ignore next -- fallback for Angular ESLint v13 */
4754function ensureTemplateParserFallback (
4855 context : Readonly < TSESLint . RuleContext < string , ReadonlyArray < unknown > > > ,
4956) : void {
You can’t perform that action at this time.
0 commit comments