Skip to content

Commit 841fa33

Browse files
fix: linting error
1 parent 8b7a4d0 commit 841fa33

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ public static OssHtmlProvider getInstance() {
1414

1515
@Override
1616
public String replaceCssVariables(String html) {
17-
html = super.replaceCssVariables(html);
18-
html = html.replace("var(--container-background-color)",
17+
var returnValue = super.replaceCssVariables(html);
18+
return returnValue.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)