Skip to content
Snippets Groups Projects
Commit f23d06c5 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(bundler): handle subdirectory artifact generation

parent 29d5e48b
No related branches found
No related tags found
No related merge requests found
import upath from 'upath';
import {
getSiblingFileName,
readLocalFile,
......@@ -124,8 +125,9 @@ export async function updateArtifacts(
'ruby --version',
`gem install bundler${bundlerVersion} --no-document`,
];
const cwd = upath.join(config.localDir, upath.dirname(packageFileName));
const execOptions: ExecOptions = {
cwd,
docker: {
image: 'renovate/ruby',
tag: await getDockerTag(updateArtifact),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment