Skip to content

Commit

Permalink
Merge pull request #29 from aquasecurity/owenr-add-support-for-tarballs
Browse files Browse the repository at this point in the history
fix: support findings inside tarballs
  • Loading branch information
Owen Rumney authored Jun 15, 2022
2 parents 00ae267 + e66e33e commit e2f7f1f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Have a feature you desire? Please let us know by filing an issue [here](https://

## Release Notes

### 0.6.1
Handle findings inside tarballs

### 0.6.0
Add support for secrets - turn on in the extension settings

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "AquaSecurityOfficial",
"description": "A VS Code extension for Trivy.",
"icon": "images/aqualogo.png",
"version": "0.6.0",
"version": "0.6.1",
"engines": {
"vscode": "^1.54.0"
},
Expand Down
6 changes: 6 additions & 0 deletions src/explorer/trivy_treeview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ export class TrivyTreeViewProvider implements vscode.TreeDataProvider<TrivyTreeI
}

let fileUri = path.join(wsFolder.uri.fsPath, result.filename);

if (!fs.existsSync(fileUri)) {
return;
}


return {
command: "vscode.open",
title: "",
Expand Down

0 comments on commit e2f7f1f

Please sign in to comment.