Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
samwho committed Dec 5, 2024
1 parent 04cb51e commit d21cfc0
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ function getTestcontainers(): ContainerInfo[] {
)
}

function removeContainer(container: ContainerInfo) {
execSync(`docker rm ${container.ID}`)
}

export function getContainerByImage(image: string) {
const containers = getTestcontainers().filter(x => x.Image.startsWith(image))
if (containers.length > 1) {
Expand All @@ -53,10 +49,6 @@ export function getContainerByImage(image: string) {
return containers[0]
}

function getContainerByName(name: string) {
return getTestcontainers().find(x => x.Names === name)
}

export function getContainerById(id: string) {
return getTestcontainers().find(x => x.ID === id)
}
Expand Down

0 comments on commit d21cfc0

Please sign in to comment.