Skip to content

Commit

Permalink
refactor(container.helper): remove error from valid errors since it i…
Browse files Browse the repository at this point in the history
…s not used by docker
  • Loading branch information
steveiliop56 committed Jun 3, 2024
1 parent bc355d6 commit f8b132a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/helpers/container.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default class ContainerHelper {
this.errorMessages = [
"Error",
"ERROR",
"error",
"Container not running/doesn't exist.",
"/bin/sh: 1:",
"no space left on device",
Expand Down Expand Up @@ -167,11 +166,9 @@ export default class ContainerHelper {

public createContainer = async (): Promise<OperationResult> => {
try {
console.log("heyy");
const { success, error } = await this.buildImage();

if (success) {
console.log("heyyy");
const remove = await this.removeContainer();
if (remove.error) {
throw remove.error;
Expand Down

0 comments on commit f8b132a

Please sign in to comment.