Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Dec 3, 2021
1 parent 2da7f5e commit 8f4bd45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/util/exec/docker/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down
2 changes: 1 addition & 1 deletion lib/util/exec/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8f4bd45

Please sign in to comment.