Skip to content

Commit

Permalink
Only enforce env validation at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Sep 11, 2024
1 parent 531950e commit aed3c65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ function validateEnv() {
);
}
}
// Check that all required environment variables are defined at build time.
validateEnv();
if (process.env.EAS_BUILD === "true") {
// Check that all required environment variables are defined at build time.
validateEnv();
}

const baseConfig: ExpoConfig = {
name: "inrupt-data-wallet",
Expand Down

0 comments on commit aed3c65

Please sign in to comment.