Fix CLI options

This commit is contained in:
Justin Hutchings
2023-01-21 21:58:28 +00:00
parent e2c79b684b
commit faeef2efa9
+1 -1
View File
@@ -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);
}