Skip to content

Commit

Permalink
fix(configure.ts): #6924 build issue for web app
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-rocket committed Oct 6, 2023
1 parent 2b235b2 commit 294abba
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .scripts/configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,19 @@ import { CloudinaryConfiguration } from '@cloudinary/angular-5.x';

if (!env.IS_DOCKER) {
if (!env.GOOGLE_MAPS_API_KEY) {
console.warn(
'WARNING: No Google Maps API Key defined in the .env file. Google Maps may not be working!'
);
console.warn('WARNING: No Google Maps API Key defined in the .env file. Google Maps may not be working!');
}

if (!env.SENTRY_DSN) {
console.warn(
'WARNING: No Sentry DSN defined in the .env file. Sentry logging may not be working!'
);
console.warn('WARNING: No Sentry DSN defined in the .env file. Sentry logging may not be working!');
}

if (!env.CLOUDINARY_CLOUD_NAME || !env.CLOUDINARY_API_KEY) {
console.warn(
'WARNING: No Cloudinary API keys defined in the .env file.'
);
console.warn('WARNING: No Cloudinary API keys defined in the .env file.');
}

if (!env.JITSU_BROWSER_HOST || !env.JITSU_BROWSER_WRITE_KEY) {
console.warn(
'WARNING: No Jitsu keys defined for browser in the .env file. Jitsu analytics may not be working!'
);
}

console.warn('WARNING: No Jitsu keys defined for browser in the .env file. Jitsu analytics may not be working!');
}

envFileContent += `
Expand Down

0 comments on commit 294abba

Please sign in to comment.