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
+2
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);
Generated Vendored
+1
View File
@@ -23776,6 +23776,7 @@ class ComponentDetection {
return __awaiter(this, void 0, void 0, function* () {
core.info("Running component-detection");
try {
yield exec.exec(`ls -la`);
yield exec.exec(`${this.componentDetectionPath} scan --SourceDirectory ${path} --ManifestFile ${this.outputPath}`);
}
catch (error) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long