Add debugging

This commit is contained in:
Justin Hutchings
2023-01-22 07:22:56 +00:00
parent 82a0300769
commit eb2d403b7f
3 changed files with 4 additions and 1 deletions

View File

@@ -51,7 +51,9 @@ export default class ComponentDetection {
// Run the component-detection CLI on the path specified
private static async runComponentDetection(path: string) {
core.info("Running component-detection");
try {
await exec.exec(`ls -la`);
await exec.exec(`${this.componentDetectionPath} scan --SourceDirectory ${path} --ManifestFile ${this.outputPath}`);
} catch (error: any) {
core.error(error);