Skip to content

Commit

Permalink
fix typos in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbrignull committed May 6, 2021
1 parent a7d3945 commit 031dc50
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 031dc50

Please sign in to comment.