<% if (!hash) { return; } const shortSha = hash && hash.slice(0, 7); %> <%# Commit: %> <% if (shortSha) { %> <% } %> <%# Desc: %> <%= subject %> <%# Notes: %> <% for (const reference of references) { if (!reference.action || !reference.issue) { continue; } const issue = reference.issue; const owner = reference.owner || 'angular'; const repository = reference.repository || 'angular-cli'; %> [Closes #<%= issue %>]
<% } %>