Feat v0.3.7 package audit (#20)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #20.
This commit is contained in:
@@ -91,8 +91,8 @@ func (sc *Scanner) runScan() {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
var stages []models.WorkflowStage
|
||||
if json.Unmarshal(v.Snapshot, &stages) != nil {
|
||||
stages, parseErr := parseSnapshotStages(v.Snapshot)
|
||||
if parseErr != nil {
|
||||
return nil
|
||||
}
|
||||
versionCache[key] = stages
|
||||
|
||||
Reference in New Issue
Block a user