Skip to content

Commit

Permalink
fix: Fix typo and remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RSeidelsohn committed Apr 12, 2023
1 parent 733553d commit 54b43bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ const recursivelyCollectAllDependencies = (options) => {
}

if (mustInclude('url')) {
// TODO: Clarify this obvious typo: json.url.we
let url = getFirstNotUndefinedOrUndefined(clarification?.url, json?.url?.we);
let url = getFirstNotUndefinedOrUndefined(clarification?.url, json?.url?.web);
/*istanbul ignore next*/
if (url) {
moduleInfo.url = url;
Expand Down

0 comments on commit 54b43bd

Please sign in to comment.