Skip to content

Commit d7d5e9d

Browse files
committed
fix: don't use quotes when generating ignore
1 parent 8dfb00a commit d7d5e9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [2.2.0] - Unreleased
44
### Changes
5+
- fixes the generated ignore id so that it is ignored during scanning
6+
7+
## [2.2.0] - v20240529.110806
8+
### Changes
59
- require lsp4e 0.18.4 and lsp4j 0.22.0 as minimum versions (Eclipse 2024-03)
610
- update release process & update sites to https://static.snyk.io/eclipse/preview and https://static.snyk.io/eclipse/stable
711

plugin/src/main/java/io/snyk/eclipse/plugin/runner/SnykCliRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public ProcessResult snykTest(File navigatePath) {
4747
}
4848

4949
public ProcessResult snykIgnore(String id, File navigatePath) {
50-
String idParam = "--id='" + id + "'";
50+
String idParam = "--id=" + id + "";
5151

5252
return snykRun(Lists.of(IGNORE_PARAM, idParam), Optional.of(navigatePath));
5353
}

0 commit comments

Comments
 (0)