Skip to content

Commit fd04f9c

Browse files
authored
Issue 120: docker ps change, can no longer use --format *and* --quiet. (#122)
1 parent 6578ae9 commit fd04f9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/base-cmd-abstract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export default abstract class BaseCmd extends Command {
272272
projectContainers.push(service.container_name as string)
273273
}
274274
}
275-
const running = execSync(this.dockerBin + ' ps --quiet --format={{.Names}}').toString()
275+
const running = execSync(this.dockerBin + ' ps --format={{.Names}}').toString()
276276
const runningContainers = running.split('\n').filter(item => {
277277
if (item.length === 0) {
278278
return false

src/commands/clean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class CleanCmd extends BaseCmd {
4444
* Prompts for user.
4545
*/
4646
private containerChoice(): Array<inquirer.Question> {
47-
const containers = execSync(this.dockerBin + ' ps -a --quiet --format={{.Names}}').toString()
47+
const containers = execSync(this.dockerBin + ' ps -a --format={{.Names}}').toString()
4848
const containerNames = containers.split('\n').filter(item => {
4949
return (item.length > 0)
5050
})

0 commit comments

Comments
 (0)