docs(readme): fix example

This commit is contained in:
Aram Drevekenin 2018-10-30 14:34:16 +01:00 committed by GitHub
parent 7b01ec7ef9
commit 8f32f30da6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ All commands return a `Promise({object})` with an stdout and stderr strings
To start containers based on the `docker-compose.yml` file in your current directory, just call `compose.up` like this:
```javascript
compose.up({ cwd: path.join(__dirname), log: true })
compose.upAll({ cwd: path.join(__dirname), log: true })
.then(
() => { console.log('done')},
err => { console.log('something went wrong:', err.message)}