From faeef2efa978d1c42e209f5a7812743a36c486a9 Mon Sep 17 00:00:00 2001 From: Justin Hutchings Date: Sat, 21 Jan 2023 21:58:28 +0000 Subject: [PATCH] Fix CLI options --- componentDetection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/componentDetection.ts b/componentDetection.ts index 3313752..35f207a 100644 --- a/componentDetection.ts +++ b/componentDetection.ts @@ -32,7 +32,7 @@ export async function downloadLatestRelease() { // Run the component-detection CLI on the path specified export async function runComponentDetection(path: string) { try { - await exec.exec(`${componentDetectionPath} ${path}`); + await exec.exec(`${componentDetectionPath} scan --SourceDirectory ${path}`); } catch (error: any) { core.error(error); }