diff --git a/packages/gatsby-source-shopify/src/gatsby-node.ts b/packages/gatsby-source-shopify/src/gatsby-node.ts index 789c22001dae6..223f51b023d8b 100644 --- a/packages/gatsby-source-shopify/src/gatsby-node.ts +++ b/packages/gatsby-source-shopify/src/gatsby-node.ts @@ -43,7 +43,7 @@ export function pluginOptionsSchema({ .default([]) .items(Joi.string().valid(`orders`, `collections`)), salesChannel: Joi.string().default( - process.env.GATSBY_SHOPIFY_SALES_CHANNEL + process.env.GATSBY_SHOPIFY_SALES_CHANNEL || `` ), }) }