Add debugging
This commit is contained in:
@@ -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);
|
||||
|
||||
+1
@@ -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) {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user