mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-24 12:35:32 +00:00
reverted back string interps cause original repo is using them
This commit is contained in:
parent
794905e7c9
commit
ef756adc93
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -43,7 +43,7 @@ const configToArgs = config => {
|
||||||
* @param {?(string|string[])} [options.config]
|
* @param {?(string|string[])} [options.config]
|
||||||
*/
|
*/
|
||||||
const execCompose = (command, options) => new Promise((resolve, reject) => {
|
const execCompose = (command, options) => new Promise((resolve, reject) => {
|
||||||
const cmd = 'docker-compose ' + configToArgs(options.config) + ' ' + command;
|
const cmd = `docker-compose ${configToArgs(options.config)} ${command}`;
|
||||||
const cwd = options.cwd;
|
const cwd = options.cwd;
|
||||||
|
|
||||||
exec(cmd, { cwd }).then(
|
exec(cmd, { cwd }).then(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue