Skip to content

Commit

Permalink
fix: add "slices" import back in (#1395)
Browse files Browse the repository at this point in the history
#1329 removed the slices import in `vulnerability_result.go`, because it
was no longer using it.
At the same time, #1385 added a new usage of the module.

Add the import back to make osv-scanner build again.
  • Loading branch information
michaelkedar authored Nov 12, 2024
1 parent 73fe113 commit 9a303ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/osvscanner/vulnerability_result.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package osvscanner

import (
"slices"
"sort"
"strings"

Expand Down

0 comments on commit 9a303ec

Please sign in to comment.