From 6d3065e17e6209d1e2e2a60452c2abd889e9b460 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sat, 26 Dec 2020 18:00:53 +0100 Subject: [PATCH] main: fix exec syntax --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 17d0b9f..1cebbb5 100644 --- a/main.js +++ b/main.js @@ -92,17 +92,17 @@ async function main() { await exec.exec("docker", [ "exec", container, - "bash -c 'rm /etc/apt/apt.conf.d/*'" + "bash", "-c", "rm /etc/apt/apt.conf.d/*" ]) await exec.exec("docker", [ "exec", container, - "bash -c 'echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm'" + "bash", "-c", "echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm" ]) await exec.exec("docker", [ "exec", container, - "bash -c 'echo debconf debconf/frontend select Noninteractive | debconf-set-selections'" + "bash", "-c", "echo debconf debconf/frontend select Noninteractive | debconf-set-selections" ]) core.endGroup()