Skip to content

Commit

Permalink
LPS-152238 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Jun 5, 2023
1 parent 8b1a2ce commit a130623
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ private static String _getURL(

String moduleName = part.trim();

int i = moduleName.indexOf(CharPool.SLASH);
int index = moduleName.indexOf(CharPool.SLASH);

if (i == -1) {
if (index == -1) {
return absolutePortalURLBuilder.forESModule(
moduleName, "index.js"
).build();
}

return absolutePortalURLBuilder.forESModule(
moduleName.substring(0, i), moduleName.substring(i + 1)
moduleName.substring(0, index), moduleName.substring(index + 1)
).build();
}

Expand Down

0 comments on commit a130623

Please sign in to comment.