chore: fix clipper CI failing

This commit is contained in:
Aman Harwara
2023-07-12 19:42:45 +05:30
parent e4b858f2e8
commit af3eafb009
31 changed files with 275 additions and 39 deletions

View File

@@ -102,9 +102,9 @@ export class RouteParser implements RouteParserInterface {
return RouteType.Onboarding
}
const isIndexPath = this.path.endsWith('index.html')
const isValidPath = ['index.html', 'popup.html'].some((path) => this.path.endsWith(path))
if (this.path !== RootRoutes.None && !isIndexPath) {
if (this.path !== RootRoutes.None && !isValidPath) {
return RouteType.None
}