From 90311d5c0862bddd96149b9f96cf2d5dc739e06a Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:29:52 +0200 Subject: [PATCH] buildx: fix typo in fixLocalState func Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/buildx/buildx.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buildx/buildx.ts b/src/buildx/buildx.ts index 728d9dd..b5541c3 100644 --- a/src/buildx/buildx.ts +++ b/src/buildx/buildx.ts @@ -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]; }