Skip to content

Commit

Permalink
Merge branch 'jpn/fix-sdk-2' into 'master'
Browse files Browse the repository at this point in the history
[FIX][SDK] fixed useless warning

See merge request codingame/game-engine!321
  • Loading branch information
CGjupoulton committed Jan 5, 2024
2 parents df23912 + 0e6fcc0 commit d8a0ebf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions playground/misc/misc-3-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The CodinGame SDK is regularly updated and improved. This document lets you know what changed in the latest releases.

## Next version

### 🐞 Bug fix

- Removed "missing welcome_en.html file" warning.

## 4.4.4

### 🐞 Bug fix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,11 @@ private void checkUniqueOpti(GameConfig gameConfig, ExportReport exportReport) {

private void checkLeaguePopups(QuestionConfig questionConfig, String tag, ExportReport exportReport) {
if (
!questionConfig.getWelcomeLanguageMap().containsKey(Constants.LANGUAGE_ID_ENGLISH)
|| questionConfig.getWelcomeLanguageMap().get(Constants.LANGUAGE_ID_ENGLISH).isEmpty()
questionConfig.getWelcomeLanguageMap().containsKey(Constants.LANGUAGE_ID_ENGLISH)
&& questionConfig.getWelcomeLanguageMap().get(Constants.LANGUAGE_ID_ENGLISH).isEmpty()
) {
exportReport.addItem(
ReportItemType.WARNING, tag + "Missing welcome_"
ReportItemType.WARNING, tag + "Empty welcome_"
+ Constants.LANGUAGE_CODE[Constants.LANGUAGE_ID_ENGLISH - 1] + ".html file."
);
} else {
Expand Down

0 comments on commit d8a0ebf

Please sign in to comment.