From 22a8ea2dd1c94265d727e979c4e35776bbb0bba4 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Mon, 20 Jan 2025 22:32:25 -0800 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d5107c9..b6021e8 100644 --- a/index.js +++ b/index.js @@ -1,9 +1,9 @@ const { exec } = require('node:child_process'); var additional = process.env.INPUT_ADDITIONAL; exec('apk add bash git ' + additional, (err, output) => { - console.log(output); if (err) { console.log("Something went wrong..."); + console.log(output); } else { console.log("Successfully installed packages!"); }