Skip to content

Commit

Permalink
Fix escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole Hochleiter committed Jun 6, 2019
1 parent e5c5980 commit 184d575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ private List<Components.Component> getProjects(WsClient wsClient) {
private String getTagsFromComponent(WsClient wsClient, String compId) {
ShowRequest request = new ShowRequest().setComponent(compId);
Components.Component result = wsClient.components().show(request).getComponent();
return result.getTagsOrBuilder().getTagsList().toString().replaceAll("[", "").replaceAll("]", "");
return result.getTagsOrBuilder().getTagsList().toString().replaceAll("\\[", "").replaceAll("]", "");
}
}

0 comments on commit 184d575

Please sign in to comment.