Skip to content

Commit

Permalink
fix: project id env priority (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
yevheniyJ committed Sep 20, 2024
1 parent e34a227 commit 3f2b6db
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public void populateWithEnvValues(ProjectProperties props) {
if (props == null) {
return;
}
PropertiesBuilder.setEnvIfExists(props::setProjectId, CROWDIN_PROJECT_ID);
if (props.getProjectId() == null) {
PropertiesBuilder.setEnvIfExists(props::setProjectId, CROWDIN_PROJECT_ID);
}
}

@Override
Expand Down

0 comments on commit 3f2b6db

Please sign in to comment.