Skip to content

Commit 418fcd5

Browse files
Merge pull request #480 from github/robertbrignull/logging_typo
Fix typos in logging
2 parents a7d3945 + 031dc50 commit 418fcd5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/fingerprints.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/fingerprints.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/fingerprints.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,15 @@ export function resolveUriToFile(
180180
location.index >= artifacts.length ||
181181
typeof artifacts[location.index].location !== "object"
182182
) {
183-
logger.debug(`Ignoring location as URI "${location.index}" is invalid`);
183+
logger.debug(`Ignoring location as index "${location.index}" is invalid`);
184184
return undefined;
185185
}
186186
location = artifacts[location.index].location;
187187
}
188188

189189
// Get the URI and decode
190190
if (typeof location.uri !== "string") {
191-
logger.debug(`Ignoring location as index "${location.uri}" is invalid`);
191+
logger.debug(`Ignoring location as URI "${location.uri}" is invalid`);
192192
return undefined;
193193
}
194194
let uri = decodeURIComponent(location.uri);

0 commit comments

Comments
 (0)