-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Needed for:
Currently, we only fetch the commit hash, and only for upload. We also need it for formatting reports, where we need the commit message as well for readability.
- replace
latestHashfunction withgetLatestCommitwhich returns other metadata as well as an object- sha
- message
- author
- date
- call
getLatestCommitfunction before creating markdown report, pass as parameter toreportToMdfunction - for
collect: if commit not found (e.g. not run in Git repo), log warning but don't exit -report.mdwill display commit is unknown - for
upload: if commit not found, throw an error - we can't upload correctly without it