Merge pull request #26 from imsnif/master

docs(readme): fix example
This commit is contained in:
Alexander Zeitler 2018-10-30 15:01:53 +01:00 committed by GitHub
commit 8716a9603d
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)}