Skip to content

Commit 3ca576e

Browse files
committed
fix use of dev store and make sure it's qualified in the command descriptions
1 parent e7bd678 commit 3ca576e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {globalFlags} from '@shopify/cli-kit/node/cli'
77
export default class BulkExecute extends AppLinkedCommand {
88
static summary = 'Execute bulk operations.'
99

10-
static description = 'Execute bulk operations against the Shopify Admin API.'
10+
static description =
11+
'Executes an Admin API GraphQL query or mutation on the specified dev store, as a bulk operation.'
1112

1213
static hidden = true
1314

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import {globalFlags} from '@shopify/cli-kit/node/cli'
77
export default class Execute extends AppLinkedCommand {
88
static summary = 'Execute GraphQL queries and mutations.'
99

10-
static description =
11-
'Executes a GraphQL query or mutation on the specified store, and writes the result to STDOUT or a file.'
10+
static description = 'Executes an Admin API GraphQL query or mutation on the specified dev store.'
1211

1312
static flags = {
1413
...globalFlags,

packages/app/src/cli/services/dev/fetch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('fetchStore', () => {
124124
await expect(got).rejects.toThrow(
125125
new AbortError(
126126
`Could not find store for domain domain1 in organization org1.`,
127-
`Ensure you've provided the correct store domain, that the store is a Dev Store, and that you have access to the store.`,
127+
`Ensure you've provided the correct store domain, that the store is a dev store, and that you have access to the store.`,
128128
),
129129
)
130130
})

packages/app/src/cli/services/dev/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export async function fetchStore(
128128
if (!store)
129129
throw new AbortError(
130130
`Could not find store for domain ${storeFqdn} in organization ${org.businessName}.`,
131-
`Ensure you've provided the correct store domain, that the store is a Dev Store, and that you have access to the store.`,
131+
`Ensure you've provided the correct store domain, that the store is a dev store, and that you have access to the store.`,
132132
)
133133

134134
return store

0 commit comments

Comments
 (0)