Skip to content

Commit

Permalink
fix: do not throw error exit code in case of "skip untranslated files…
Browse files Browse the repository at this point in the history
…" is enabled (#829)
  • Loading branch information
yevheniyJ committed Jul 25, 2024
1 parent dad30e7 commit 7bce965
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public void act(Outputter out, PropertiesWithFiles pb, ProjectClient client) {

if (!anyFileDownloaded.get()) {
if (project.getSkipUntranslatedFiles() || skipUntranslatedFiles.get()) {
throw new ExitCodeExceptionMapper.ValidationException(RESOURCE_BUNDLE.getString("message.warning.no_file_to_download_skipuntranslated"));
out.println(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.warning.no_file_to_download_skipuntranslated")));
} else {
throw new ExitCodeExceptionMapper.ValidationException(WARNING.withIcon(RESOURCE_BUNDLE.getString("message.warning.no_file_to_download")));
}
Expand Down

0 comments on commit 7bce965

Please sign in to comment.