Skip to content

Commit 3b79871

Browse files
Merge pull request #6575 from Shopify/fix-cli-loader
Fix CLI loader
2 parents 28fce1f + 7de29a1 commit 3b79871

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/cli-kit/src/public/node/custom-oclif-loader.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ export class ShopifyConfig extends Config {
2626
path,
2727
}
2828
}
29-
super(options)
29+
}
30+
31+
super(options)
3032

33+
if (isDevelopment()) {
3134
// @ts-expect-error: This is a private method that we are overriding. OCLIF doesn't provide a way to extend it.
3235
// eslint-disable-next-line @typescript-eslint/unbound-method
3336
this.determinePriority = this.customPriority

0 commit comments

Comments
 (0)