From 640ce2879b79a0c16eb62ff4cab71f2b6ee6c591 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 23 Feb 2024 16:56:50 +0500 Subject: [PATCH] Discard changes to test.ts --- test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test.ts b/test.ts index 4c5afb4..37e0805 100644 --- a/test.ts +++ b/test.ts @@ -34,7 +34,6 @@ export const runContainer = async ( export const executeScriptInContainer = async ( state: TerraformState, image: string, - command: string = "", shell: string = "sh", ): Promise<{ exitCode: number; @@ -43,9 +42,7 @@ export const executeScriptInContainer = async ( }> => { const instance = findResourceInstance(state, "coder_script"); const id = await runContainer(image); - // const resp = await execContainer(id, [shell, "-c", instance.script]); - command = command + "; " + instance.script; - const resp = await execContainer(id, [shell, "-c", command]); + const resp = await execContainer(id, [shell, "-c", instance.script]); const stdout = resp.stdout.trim().split("\n"); const stderr = resp.stderr.trim().split("\n"); return {