Skip to content

Commit

Permalink
Merge branch 'develop' into configurable-roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil20 committed Jan 13, 2025
2 parents 5c44f51 + a12eb10 commit 5d06701
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ Query component now sends errors automatically to Sentry.`
{
name: 'date-fns',
message: 'Please use submodules instead'
},
{
name: '@opencrvs/commons',
message:
'Importing directly from `@opencrvs/commons` is not allowed. Use `@opencrvs/commons/client` instead.'
}
]
],
patterns: ['@opencrvs/commons/*', '!@opencrvs/commons/client']
}
],
'formatjs/enforce-id': 'error',
Expand Down
4 changes: 3 additions & 1 deletion packages/data-seeder/src/locations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ export async function seedLocationsForV2Events(token: string) {
})

if (!res.ok) {
raise(await res.json())
console.error(
'Unable to seed locations for v2 events. Ensure events service is running.'
)
}
}

0 comments on commit 5d06701

Please sign in to comment.