diff --git a/lib/util/exec/docker/index.spec.ts b/lib/util/exec/docker/index.spec.ts index 88745afd9f3cca..2fa288b3dbcfb1 100644 --- a/lib/util/exec/docker/index.spec.ts +++ b/lib/util/exec/docker/index.spec.ts @@ -226,7 +226,7 @@ describe('util/exec/docker/index', () => { `-e FOO -e BAR ` + `-w "/tmp/foobar" ` + `renovate/${img} ` + - `bash -l -c "foo && bar && baz"`; + `bash -l -c "foo && bar"`; beforeEach(() => { GlobalConfig.set({ dockerUser: 'some-user' }); diff --git a/lib/util/exec/index.spec.ts b/lib/util/exec/index.spec.ts index ff5e8060d1b1db..8ab962ec62e02c 100644 --- a/lib/util/exec/index.spec.ts +++ b/lib/util/exec/index.spec.ts @@ -470,7 +470,7 @@ describe('util/exec/index', () => { outCmd: [ dockerPullCmd, dockerRemoveCmd, - `docker run --rm --name=${name} --label=renovate_child ${defaultVolumes} -w "${cwd}" ${fullImage} bash -l -c "preCommand1 && preCommand2 && ${inCmd} && postCommand1 && postCommand2"`, + `docker run --rm --name=${name} --label=renovate_child ${defaultVolumes} -w "${cwd}" ${fullImage} bash -l -c "preCommand1 && preCommand2 && ${inCmd}"`, ], outOpts: [ dockerPullOpts,