Skip to content

Commit

Permalink
attach dep.yaml.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel committed Jul 25, 2024
1 parent 345b99e commit 8539637
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/analyzer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"os"
"path"

"github.com/konveyor/tackle2-addon-analyzer/builder"
Expand Down Expand Up @@ -39,6 +40,14 @@ func (r *Analyzer) Run() (issueBuilder *builder.Issues, depBuilder *builder.Deps
return
}
addon.Attach(f)
if _, stErr := os.Stat(depOutput); stErr == nil {
f, pErr = addon.File.Post(depOutput)
if pErr != nil {
err = pErr
return
}
addon.Attach(f)
}
}
return
}
Expand Down

0 comments on commit 8539637

Please sign in to comment.