File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extensions/ql-vscode/src/variant-analysis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ export function tryGetRule(
168168 return undefined ;
169169}
170170
171- function getFilePath (
171+ function tryGetFilePath (
172172 physicalLocation : sarif . PhysicalLocation ,
173173) : string | undefined {
174174 const filePath = physicalLocation . artifactLocation ?. uri ;
@@ -261,7 +261,7 @@ function getCodeFlows(
261261 for ( const threadFlowLocation of threadFlow . locations ) {
262262 const physicalLocation =
263263 threadFlowLocation ! . location ! . physicalLocation ! ;
264- const filePath = getFilePath ( physicalLocation ) ;
264+ const filePath = tryGetFilePath ( physicalLocation ) ;
265265 const codeSnippet = getCodeSnippet (
266266 physicalLocation . contextRegion ,
267267 physicalLocation . region ,
You can’t perform that action at this time.
0 commit comments