Skip to content

Commit

Permalink
feat: add conditional to languages
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Nov 5, 2024
1 parent b0deb44 commit 67c05b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/pull-languages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const pullLanguagesCommand = program
try {
const internationalization = await pullLanguages(space, state.password, state.region)

if (!internationalization || internationalization.languages.length === 0) {
if (!internationalization || internationalization.languages?.length === 0) {
konsola.warn(`No languages found in the space ${space}`)
return
}
Expand Down

0 comments on commit 67c05b0

Please sign in to comment.