Skip to content

Commit

Permalink
Little fix for 'generate'
Browse files Browse the repository at this point in the history
  • Loading branch information
frombetelgeuse committed Oct 6, 2021
1 parent e49d6a7 commit ef39070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void updateWithUserInputs(Outputter out, Asking asking, List<String> fil
System.out.println(String.format(RESOURCE_BUNDLE.getString("message.exctracted_organization_name"), realOrganizationName));
values.put(BASE_URL, String.format(BASE_ENTERPRISE_URL_DEFAULT, realOrganizationName));
} else {
values.put(BASE_URL, String.format(BASE_ENTERPRISE_URL_DEFAULT, organizationName));
values.put(BASE_URL, String.format(BASE_ENTERPRISE_URL_DEFAULT, PropertiesBeanUtils.getOrganization(organizationName)));
}
} else {
this.isEnterprise = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ private static Stream<Arguments> testGetOrganization() {
arguments("https://Daanya.crowdin.com", "Daanya"),
arguments("https://Daanya.api.crowdin.com", "Daanya"),
arguments("https://crowdin.com", null),
arguments("https://api.crowdin.com", null)
arguments("https://api.crowdin.com", null),
arguments("andriy.crowdin.com", "andriy")
);
}

Expand Down

0 comments on commit ef39070

Please sign in to comment.