Skip to content

Commit d8e42c7

Browse files
authored
fix(ignore-secret): Use relative path in .gitguardian.yaml (#18)
1 parent a54a439 commit d8e42c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/giguardian-interface/gitguardian-hover-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ export function generateSecretName(
6767
currentFile: string,
6868
uriDiagnostic: any
6969
): string {
70-
return `${uriDiagnostic.detector} - ${currentFile}:l.${uriDiagnostic.startLine}`;
70+
return `${uriDiagnostic.detector} - ${vscode.workspace.asRelativePath(currentFile)}:l.${uriDiagnostic.startLine}`;
7171
}

0 commit comments

Comments
 (0)