Skip to content

Commit

Permalink
refactor(providers): checking if you are in the test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
lncitador committed Sep 20, 2024
1 parent 35e4903 commit 5e2a5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/izzy_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class IzzyRouteProvider {
})
}

if (routesJSON.length === 0) {
if (routesJSON.length === 0 && this.app.getEnvironment() === 'test') {
routesJSON = await this.#getTestRoutes(router)
}

Expand Down

0 comments on commit 5e2a5ef

Please sign in to comment.