Skip to content

Commit bba983b

Browse files
authored
fix: wrap pathes for docker compose in quotes (#134)
1 parent 17bf748 commit bba983b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/docker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const checkDockerInstallation = async () => {
1616
};
1717

1818
const getComposeCommandBase = (dockerComposePath: string, projectDir?: string) => {
19-
return `docker compose -f ${dockerComposePath} --project-directory ${projectDir ?? path.dirname(dockerComposePath)}`;
19+
return `docker compose -f "${dockerComposePath}" --project-directory "${projectDir ?? path.dirname(dockerComposePath)}"`;
2020
};
2121
const createComposeCommand =
2222
(action: string) => async (dockerComposePath: string, projectDir?: string, additionalArgs?: string[]) => {

0 commit comments

Comments
 (0)