Skip to content

Commit

Permalink
Merge pull request #480 from github/robertbrignull/logging_typo
Browse files Browse the repository at this point in the history
Fix typos in logging
  • Loading branch information
robertbrignull authored May 6, 2021
2 parents a7d3945 + 031dc50 commit 418fcd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/fingerprints.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/fingerprints.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/fingerprints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ 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;
}

// 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);
Expand Down

0 comments on commit 418fcd5

Please sign in to comment.