fix: No need to dashify anymore

This commit is contained in:
Andras Bacsai 2022-03-31 15:42:15 +02:00
parent a4562d18b6
commit 1f5908e0b8

View File

@ -129,9 +129,8 @@ export const removeDestinationDocker = async ({ id, engine }) => {
}; };
export const createDirectories = async ({ repository, buildId }) => { export const createDirectories = async ({ repository, buildId }) => {
const dashedRepository = dashify(repository); const repodir = `/tmp/build-sources/${repository}/`;
const repodir = `/tmp/build-sources/${dashedRepository}/`; const workdir = `/tmp/build-sources/${repository}/${buildId}`;
const workdir = `/tmp/build-sources/${dashedRepository}/${buildId}`;
await asyncExecShell(`mkdir -p ${workdir}`); await asyncExecShell(`mkdir -p ${workdir}`);