Skip to content

Commit

Permalink
update for 988, remove leading slash from module name that is injecte…
Browse files Browse the repository at this point in the history
…d but not specified via setModuleName

Signed-off-by: Scott Marlow <smarlow@redhat.com>
  • Loading branch information
scottmarlow committed May 18, 2022
1 parent be6b6ed commit 8f992b1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ public void setReason(String reason) {
}

public String getModuleName() {
if (moduleName.startsWith("/")) {
return moduleName.substring(1);
}
return moduleName;
}

Expand Down

0 comments on commit 8f992b1

Please sign in to comment.