Skip to content

Commit

Permalink
fix static
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Oct 22, 2023
1 parent f8795ad commit d463fa1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/coreutils/techutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,10 @@ func mapFilesToRelevantWorkingDirectories(files []string, requestedDescriptors m
}
}
}
strJson, _ := json.MarshalIndent(workingDirectoryToIndicators, "", " ")
log.Debug(fmt.Sprintf("mapped %d working directories with indicators/descriptors:\n%s", len(workingDirectoryToIndicators), strJson))
strJson, err := json.MarshalIndent(workingDirectoryToIndicators, "", " ")
if err == nil {
log.Debug(fmt.Sprintf("mapped %d working directories with indicators/descriptors:\n%s", len(workingDirectoryToIndicators), strJson))
}
return
}

Expand Down

0 comments on commit d463fa1

Please sign in to comment.