Skip to content

Commit

Permalink
fix(jsonnet-bundler): handle undefined parseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Nov 16, 2022
1 parent 1515999 commit a27a7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/jsonnet-bundler/extract.ts
Expand Up @@ -44,7 +44,7 @@ function extractDependency(dependency: Dependency): PackageDependency | null {
}

const gitRemote = parseUrl(dependency.source.git.remote);
if (gitRemote === null) {
if (!gitRemote) {
logger.debug({ dependency }, 'Invalid Git remote URL');
return null;
}
Expand Down

0 comments on commit a27a7fa

Please sign in to comment.