* Shortens a commit SHA to 7 characters for human readability. * @param {string} sha 40 characters SHA. * @return {string} 7 characters SHA.
(sha)
| 46 | * @return {string} 7 characters SHA. |
| 47 | */ |
| 48 | function shortSha(sha) { |
| 49 | return sha.substr(0, 7); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Returns the list of files changed but not committed to the local branch, one |
no outgoing calls
no test coverage detected