Skip to content

Commit

Permalink
fix the icons
Browse files Browse the repository at this point in the history
  • Loading branch information
owenrumney committed Jan 28, 2022
1 parent 35a5737 commit 1a1111c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 33 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to the "tfsec" extension will be documented in this file.

### 1.7.4
- Fix the icons for Severity and tfsec checkname

### 1.7.3
- Fix issue with tfsec `v1.0.0-rc.2`

Expand Down
31 changes: 3 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Ignore codes will be automatically resolved and the description of the error wil

## Release Notes

### 1.7.4
- Fix the icons for Severity and tfsec checkname

### 1.7.3
- Fix issue with tfsec `v1.0.0-rc.2`

Expand All @@ -41,33 +44,5 @@ Ignore codes will be automatically resolved and the description of the error wil
- Refactor the runner to clean up extension code
- clean up some redundant code

### 1.6.1
- Prettify with nice icons
-
### 1.6.0
- Switch from ExecSync to Spawn for running tfsec
- Don't show the output window so much, we know its there
- Update mass ignores to always add a new line

### 1.5.0
- Check for tfsec before running any commands
- Add debug setting for richer output option
- remove some redundant logging

### 1.4.1
- Fix updater

### 1.4.0
- Use output channel instead of terminal for better cross platform command support
- Remove explicit run command and use refresh to update the list with a fresh run
- Add ignore all severity
- Fix the refresh after ignores have been completed
- Add more information to the update output

### 1.3.1
- Update the repository link

### 1.3.0
- Remove dependency on codes resource for resolving legacy IDs

#### See Change log for more information
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "tfsec",
"publisher": "tfsec",
"description": "tfsec integration for Visual Studio Code",
"version": "1.7.3",
"version": "1.7.4",
"engines": {
"vscode": "^1.54.0"
},
Expand Down
8 changes: 4 additions & 4 deletions src/explorer/tfsec_treeitem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ export class TfsecTreeItem extends vscode.TreeItem {
this.contextValue = "TFSEC_CODE";
this.tooltip = `${check.codeDescription}`;
this.iconPath = {
light: path.join(__filename, '..', '..', '..', 'resources', 'light', 'tfsec.svg'),
dark: path.join(__filename, '..', '..', '..', 'resources', 'dark', 'tfsec.svg')
light: path.join(__filename, '..', '..', 'resources', 'light', 'tfsec.svg'),
dark: path.join(__filename, '..', '..', 'resources', 'dark', 'tfsec.svg')
};
}
} else {
this.treeItemType = TfsecTreeItemType.issueSeverity;
this.contextValue = "TFSEC_SEVERITY";
this.iconPath = {
light: path.join(__filename, '..', '..', '..', 'resources', this.severityIcon(this.severity)),
dark: path.join(__filename, '..', '..', '..', 'resources', this.severityIcon(this.severity))
light: path.join(__filename, '..', '..', 'resources', this.severityIcon(this.severity)),
dark: path.join(__filename, '..', '..', 'resources', this.severityIcon(this.severity))
};
}
}
Expand Down

0 comments on commit 1a1111c

Please sign in to comment.