You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 latestHash function with getLatestCommit which returns other metadata as well as an object
sha
message
author
date
call getLatestCommit function before creating markdown report, pass as parameter to reportToMd function
for collect: if commit not found (e.g. not run in Git repo), log warning but don't exit - report.md will display commit is unknown
for upload: if commit not found, throw an error - we can't upload correctly without it
The text was updated successfully, but these errors were encountered:
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.
latestHash
function withgetLatestCommit
which returns other metadata as well as an objectgetLatestCommit
function before creating markdown report, pass as parameter toreportToMd
functioncollect
: if commit not found (e.g. not run in Git repo), log warning but don't exit -report.md
will display commit is unknownupload
: if commit not found, throw an error - we can't upload correctly without itThe text was updated successfully, but these errors were encountered: