Skip to content

Commit 7f7d8c3

Browse files
authored
fix: add a newline to separate "no issues found" from logs (#2665)
Resolves #2580
1 parent 8e262c3 commit 7f7d8c3

File tree

6 files changed

+74
-2
lines changed

6 files changed

+74
-2
lines changed

cmd/osv-scanner/__snapshots__/main_test.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Scanning dir ./testdata/locks-one-with-nested
6262
Scanned <rootdir>/testdata/locks-one-with-nested/nested/composer.lock file and found 1 package
6363
Scanned <rootdir>/testdata/locks-one-with-nested/yarn.lock file and found 1 package
6464
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
65+
6566
No issues found
6667

6768
---
@@ -75,6 +76,7 @@ Warning: `scan` exists as both a subcommand of OSV-Scanner and as a file on the
7576
Scanning dir ./testdata/locks-many/composer.lock
7677
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
7778
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
79+
7880
No issues found
7981

8082
---
@@ -87,6 +89,7 @@ No issues found
8789
Scanning dir ./testdata/locks-many/composer.lock
8890
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
8991
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
92+
9093
No issues found
9194

9295
---

cmd/osv-scanner/scan/__snapshots__/command_test.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Scanning dir ./testdata/locks-one-with-nested
44
Scanned <rootdir>/testdata/locks-one-with-nested/nested/composer.lock file and found 1 package
55
Scanned <rootdir>/testdata/locks-one-with-nested/yarn.lock file and found 1 package
66
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
7+
78
No issues found
89

910
---
@@ -39,6 +40,7 @@ OPTIONS:
3940
Scanning dir ./testdata/locks-many/composer.lock
4041
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
4142
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
43+
4244
No issues found
4345

4446
---
@@ -51,6 +53,7 @@ No issues found
5153
Scanning dir ./testdata/locks-many/composer.lock
5254
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
5355
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
56+
5457
No issues found
5558

5659
---

cmd/osv-scanner/scan/image/__snapshots__/command_test.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Checking if docker image ("hello-world:linux") exists locally...
102102
Saving docker image ("hello-world:linux") to temporary file...
103103
Scanning image "hello-world:linux"
104104
No package sources found
105+
105106
No issues found
106107
107108
---

0 commit comments

Comments
 (0)