fix: add trailing single quite to Docker --env arguments

This commit is contained in:
Jeroen de Bruijn 2020-05-03 18:46:36 +02:00
parent 0b2baab891
commit cd791cb5c3
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F

View file

@ -14,8 +14,8 @@ class Renovate {
runDockerContainer(): void {
const commandArguments = [
'--rm',
`--env ${this.configurationFileEnv}='${this.configurationFile}`,
`--env ${this.tokenEnv}='${this.token}`,
`--env ${this.configurationFileEnv}='${this.configurationFile}'`,
`--env ${this.tokenEnv}='${this.token}'`,
this.docker.image(),
];
const command = `docker run ${commandArguments.join(' ')}`;