From 3749fc3adf45e45e994b8d5196673bb5d3bf0b69 Mon Sep 17 00:00:00 2001 From: Daan Selen Date: Fri, 8 Aug 2025 22:21:01 +0200 Subject: [PATCH] Commented out unused code (I think) --- docker-scout/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-scout/index.js b/docker-scout/index.js index 9b48414..7850dd1 100644 --- a/docker-scout/index.js +++ b/docker-scout/index.js @@ -32,6 +32,7 @@ async function dockerInfo() { }); } +/* async function getScoutVersion() { let version; await core.group(`Docker scout version`, async () => { @@ -51,6 +52,7 @@ async function getScoutVersion() { }); return version; } +*/ async function runScoutCommand(commands, image, format, outputFile) { const resultPath = path.join(fs.mkdtempSync(path.join(os.tmpdir(), 'docker-scout-action-')), 'result.txt'); @@ -83,7 +85,7 @@ async function main(inputs) { await pullDockerImage(scoutVersion); await copyBinary(scoutVersion); await dockerInfo(); - const version = await getScoutVersion(); + //const version = await getScoutVersion(); // TODO: cache binary (no changes per your request) await runScoutCommand(commands, imageName, outputFormat, outputFile); }