Skip to content

Commit 2704bd0

Browse files
fix: linting error
1 parent 8b7a4d0 commit 2704bd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugin/src/main/java/io/snyk/eclipse/plugin/html/OssHtmlProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ public static OssHtmlProvider getInstance() {
1515
@Override
1616
public String replaceCssVariables(String html) {
1717
html = super.replaceCssVariables(html);
18-
html = html.replace("var(--container-background-color)",
18+
return html.replace("var(--container-background-color)",
1919
super.getColorAsHex("org.eclipse.ui.workbench.DARK_BACKGROUND", "#F0F0F0"));
20-
return html;
2120
}
2221
}

0 commit comments

Comments
 (0)