Skip to content

Commit

Permalink
Fixed build step
Browse files Browse the repository at this point in the history
  • Loading branch information
BC-krasnoshapka committed Oct 13, 2023
1 parent 803c481 commit c264403
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ export const ensureStartsWith = (stringToCheck: string, startsWith: string) =>
stringToCheck.startsWith(startsWith) ? stringToCheck : `${startsWith}${stringToCheck}`;

export const validateEnvironmentVariables = () => {
const requiredEnvironmentVariables = ['SHOPIFY_STORE_DOMAIN', 'SHOPIFY_STOREFRONT_ACCESS_TOKEN'];
const requiredEnvironmentVariables = [
'BIGCOMMERCE_CANONICAL_STORE_DOMAIN',
'BIGCOMMERCE_ACCESS_TOKEN',
'BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN'
];
const missingEnvironmentVariables = [] as string[];

requiredEnvironmentVariables.forEach((envVar) => {
Expand Down

0 comments on commit c264403

Please sign in to comment.