Skip to content

Commit

Permalink
fix: test meta vars
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Jun 5, 2024
1 parent fa7012b commit afa78ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ import { useDevice } from '@deriv-com/ui';
import AppContent from './routes/AppContent';

const { VITE_CROWDIN_BRANCH_NAME, VITE_PROJECT_NAME, VITE_TRANSLATIONS_CDN_URL } = import.meta.env;
console.log(

Check failure on line 10 in src/App.tsx

View workflow job for this annotation

GitHub Actions / build_to_cloudflare_pages

Unexpected console statement
'VITE_CROWDIN_BRANCH_NAME',
VITE_CROWDIN_BRANCH_NAME,
'VITE_PROJECT_NAME',
VITE_PROJECT_NAME,
'VITE_TRANSLATIONS_CDN_URL',
VITE_TRANSLATIONS_CDN_URL
);
console.log(`${VITE_TRANSLATIONS_CDN_URL}/${VITE_PROJECT_NAME}/${VITE_CROWDIN_BRANCH_NAME}`);

Check failure on line 18 in src/App.tsx

View workflow job for this annotation

GitHub Actions / build_to_cloudflare_pages

Unexpected console statement
const i18nInstance = initializeI18n({
cdnUrl: `${VITE_TRANSLATIONS_CDN_URL}/${VITE_PROJECT_NAME}/${VITE_CROWDIN_BRANCH_NAME}`,
});
Expand Down

0 comments on commit afa78ac

Please sign in to comment.