From b212b3b35ee7c41c4ec05f873e43d553e9a5e18a Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 28 Oct 2023 08:38:35 +0200 Subject: [PATCH] chore: fix incomplete string escaping Signed-off-by: CrazyMax --- src/buildx/builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildx/builder.ts b/src/buildx/builder.ts index 37ee9c8..833d819 100644 --- a/src/buildx/builder.ts +++ b/src/buildx/builder.ts @@ -145,7 +145,7 @@ export class Builder { if (value.includes('*')) { for (const platform of value.split(', ')) { if (platform.includes('*')) { - platforms.push(platform.replace('*', '')); + platforms.push(platform.replace(/\*/g, '')); } } } else {