Skip to content

Commit 4e48879

Browse files
committed
Fix for windows
Signed-off-by: David Gageot <[email protected]>
1 parent 830b4a0 commit 4e48879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension/ui/src/FileUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const writeToPromptsVolume = async (client: v1.DockerDesktopClient, filen
5252
BUSYBOX,
5353
"/bin/sh",
5454
"-c",
55-
`'echo ${encode(content)} | base64 -d > ${filename}'`,
55+
`\\"echo ${encode(content)} | base64 -d > ${filename}\\"`,
5656
]);
5757
}
5858

@@ -64,6 +64,6 @@ export const writeToMount = async (client: v1.DockerDesktopClient, mount: string
6464
BUSYBOX,
6565
"/bin/sh",
6666
"-c",
67-
`'echo ${encode(content)} | base64 -d > ${filename}'`,
67+
`\\"echo ${encode(content)} | base64 -d > ${filename}\\"`,
6868
]);
6969
}

0 commit comments

Comments
 (0)