fix here as well

This commit is contained in:
mbecker20
2022-03-29 23:09:11 -07:00
parent f6e15ea495
commit 78814198d2
+2 -2
View File
@@ -51,8 +51,8 @@ async function cloneRepo(
!server && onPull
? await execute(
`cd ${DEPLOYMENT_REPO_PATH + containerName!}${
onPull.path[0] === "/" ? "" : "/"
}${onPull.path} && ${onPull.command}`
onPull.path ? (onPull.path[0] === "/" ? "" : "/") : ""
}${onPull.path ? onPull.path : ""} && ${onPull.command}`
)
: undefined;
const { command, log, isError } = mergeCommandLogError(