mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-27 14:01:46 +00:00
Fix skipping first container in ps command
This commit is contained in:
parent
192979ffcc
commit
748ba3e368
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ export const mapPsOutput = (output: string): DockerComposePsResult => {
|
||||||
const services = output
|
const services = output
|
||||||
.split(`\n`)
|
.split(`\n`)
|
||||||
.filter(nonEmptyString)
|
.filter(nonEmptyString)
|
||||||
.filter((_, index) => index > 1)
|
.filter((_, index) => index > 0)
|
||||||
.map((line) => {
|
.map((line) => {
|
||||||
const [
|
const [
|
||||||
nameFragment,
|
nameFragment,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue