Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
code comment
  • Loading branch information
wing328 committed Mar 29, 2020
commit d0916cde002e1955511e2e587d733d1dc4e9ad1c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,9 @@ public void processOpts() {
}

if (StringUtils.isNotBlank(powershellGalleryUrl)) {
// get the last segment of the URL
// e.g. https://www.powershellgallery.com/packages/PSTwitter => PSTwitter
additionalProperties.put("powershellGalleryId", powershellGalleryUrl.replaceFirst(".*/([^/?]+).*", "$1"));
//additionalProperties.put("powershellGalleryId", "something");
}

if (additionalProperties.containsKey(CodegenConstants.OPTIONAL_PROJECT_GUID)) {
Expand Down