openssf scorecard suggested improvements

This commit is contained in:
Mick Grove 2026-03-20 07:45:37 -07:00
commit bd2d53b7b4
4 changed files with 14 additions and 16 deletions

View file

@ -601,7 +601,7 @@ impl DetailsReporter {
let atime = cmd
.committer_timestamp
.format(gix::date::time::format::SHORT.clone())
.unwrap_or_else(|_| cmd.committer_timestamp.seconds.to_string());
.unwrap_or_else(|_| "<unknown>".to_string());
let git_metadata = serde_json::json!({
"repository_url": repository_url,