Skip to content

Commit

Permalink
Test building of locales
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Sep 28, 2021
1 parent 96634bd commit bdad428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module.exports = {

// We want to speed-up the build of pull requests.
// For crowdin PRs we want to build all locales for testing.
if (process.env.PULL_REQUEST === 'true' && !l10nPRInNetlify && !vercelDeploy) {
if (!(process.env.PULL_REQUEST === 'true' && !l10nPRInNetlify && !vercelDeploy)) {
// eslint-disable-next-line no-console
console.log('Considering only English for SSR');
traverse(pages, 'en');
Expand Down

0 comments on commit bdad428

Please sign in to comment.