Skip to content

Commit 3eef16f

Browse files
committed
refactor with generated GraphQL types
1 parent e4deec4 commit 3eef16f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/app/src/cli/commands/app/execute.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ export default class Execute extends AppLinkedCommand {
4747
})
4848

4949
if (bulkOperationResponse?.userErrors?.length) {
50-
const errorMessages = bulkOperationResponse.userErrors.map((error) => `${error.field?.join('.') ?? 'unknown'}: ${error.message}`).join('\n')
50+
const errorMessages = bulkOperationResponse.userErrors
51+
.map((error) => `${error.field?.join('.') ?? 'unknown'}: ${error.message}`)
52+
.join('\n')
5153
renderWarning({
5254
headline: 'Bulk operation errors.',
5355
body: errorMessages,

packages/app/src/cli/services/bulk-operation-run-query.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ export async function runBulkOperationQuery(
2727

2828
return response.bulkOperationRunQuery
2929
}
30-

0 commit comments

Comments
 (0)