Skip to content

Commit

Permalink
Merge pull request #405 from crazy-max/buildx-fixlocalstate-typo
Browse files Browse the repository at this point in the history
buildx: fix typo in fixLocalState func
  • Loading branch information
crazy-max committed Jul 5, 2024
2 parents d908ffc + 90311d5 commit ce0d3d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buildx/buildx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ export class Buildx {
url = url.replace('http:/', 'http://');
}
if (url.startsWith('ssh:/') && !url.startsWith('ssh://')) {
url = url.replace('https:/', 'ssh://');
url = url.replace('ssh:/', 'ssh://');
}
if (url.startsWith('git:/') && !url.startsWith('git://')) {
url = url.replace('https:/', 'git://');
url = url.replace('git:/', 'git://');
}
return [url, trimed, true];
}
Expand Down

0 comments on commit ce0d3d5

Please sign in to comment.