Skip to content

Commit 04f80d8

Browse files
committed
fix: quick action misattribution
1 parent 77c1a1f commit 04f80d8

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.6] - 2026-02-12
9+
10+
### Changed
11+
12+
- Fixed an issue where quick fix code actions were being provided for external diagnostics.
13+
814
## [0.1.5] - 2026-02-11
915

1016
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitgerbil",
33
"displayName": "GitGerbil",
44
"description": "Scan your project for potential secrets, sensitive information, and less-than-ideal files that you probably shouldn't commit.",
5-
"version": "0.1.5",
5+
"version": "0.1.6",
66
"publisher": "KennethNg",
77
"icon": "./src/assets/icon.png",
88
"repository": {

src/extension/utils/actions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export class CodeActionProvider implements vscode.CodeActionProvider {
4545
const actions: vscode.CodeAction[] = [];
4646

4747
for (const diagnostic of context.diagnostics) {
48+
if (diagnostic.source !== "GitGerbil") continue;
49+
4850
switch (diagnostic.code) {
4951
case DiagnosticCodes.SecretDetected:
5052
case DiagnosticCodes.CommentDetected:

0 commit comments

Comments
 (0)