mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 03:30:14 +08:00
Merge branch 'main' into hmakholm/pr/fix-escaping
This commit is contained in:
@@ -180,7 +180,7 @@ export function resolveUriToFile(
|
||||
location.index >= artifacts.length ||
|
||||
typeof artifacts[location.index].location !== "object"
|
||||
) {
|
||||
logger.debug(`Ignoring location as URI "${location.index}" is invalid`);
|
||||
logger.debug(`Ignoring location as index "${location.index}" is invalid`);
|
||||
return undefined;
|
||||
}
|
||||
location = artifacts[location.index].location;
|
||||
@@ -188,7 +188,7 @@ export function resolveUriToFile(
|
||||
|
||||
// Get the URI and decode
|
||||
if (typeof location.uri !== "string") {
|
||||
logger.debug(`Ignoring location as index "${location.uri}" is invalid`);
|
||||
logger.debug(`Ignoring location as URI "${location.uri}" is invalid`);
|
||||
return undefined;
|
||||
}
|
||||
let uri = decodeURIComponent(location.uri);
|
||||
|
||||
Reference in New Issue
Block a user