From 1aa4b1952f791055f93ba8ecdb3f9961f07734e5 Mon Sep 17 00:00:00 2001 From: Mike Roberts <2947595+m-roberts@users.noreply.github.com> Date: Wed, 28 Oct 2020 23:22:03 +0000 Subject: [PATCH] Try and get Lintian to pass --- main.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 9cc041e..ae44623 100644 --- a/main.js +++ b/main.js @@ -189,9 +189,15 @@ async function main() { core.startGroup("Run static analysis") await exec.exec("docker", ["exec", container].concat( - ["lintian"] - .concat(lintianOpts) - .concat("*" + targetArchitecture + ".changes") + [ + "find", + buildDirectory, + "-maxdepth", "1", + "-name", `*${targetArchitecture}.changes`, + "-type", "f", + "-print", + "-exec" + ]).concat(["lintian"]).concat(lintianOpts).concat(["{}", ";"] )) core.endGroup() }