Skip to content

Commit 7f8aefb

Browse files
committed
fix: code review comments
1 parent 0cf1a0a commit 7f8aefb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public String replaceCssVariables(String html) {
7878
}
7979

8080
private String replaceAIFixScripts(String html) {
81-
String htmlWithGenerateFunc = html.replace("${ideGenerateAIFix}", getGenerateAiFixScript());
82-
String htmlWithApplyFunc = htmlWithGenerateFunc.replace("${ideApplyAIFix}", getApplyAiFixScript());
81+
String htmlWithAiFixScripts = html.replace("${ideGenerateAIFix}", getGenerateAiFixScript());
82+
htmlWithAiFixScripts = htmlWithAiFixScripts.replace("${ideApplyAIFix}", getApplyAiFixScript());
8383

84-
return htmlWithApplyFunc;
84+
return htmlWithAiFixScripts;
8585
}
8686

8787
private String getGenerateAiFixScript() {

0 commit comments

Comments
 (0)