Skip to content

Commit

Permalink
fix: Fix error read properties of undefined (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
olimsaidov committed Jun 22, 2022
1 parent b52c98a commit 8dd2398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/api/catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export class Catalog {
// If sourceLocale is either target locale of fallback one, use key
(sourceLocale && sourceLocale === locale && key) ||
(sourceLocale &&
fallbackLocales &&
fallbackLocales.default &&
sourceLocale === fallbackLocales.default &&
key) ||
Expand Down

1 comment on commit 8dd2398

@vercel
Copy link

@vercel vercel bot commented on 8dd2398 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.