logs: less changelog

This commit is contained in:
Rhys Arkins 2018-05-09 18:42:47 +02:00
parent e7a9c0fe44
commit 16de6a2912

View file

@ -101,7 +101,7 @@ function sectionize(text, level) {
} }
async function getReleaseNotesMd(repository, version) { async function getReleaseNotesMd(repository, version) {
logger.debug(`getReleaseNotes(${repository}, ${version})`); logger.trace(`getReleaseNotes(${repository}, ${version})`);
let changelogMd = ''; let changelogMd = '';
try { try {
const apiPrefix = `https://api.github.com/repos/${repository}/contents/`; const apiPrefix = `https://api.github.com/repos/${repository}/contents/`;
@ -156,7 +156,7 @@ async function getReleaseNotesMd(repository, version) {
} }
logger.trace({ repository }, `No level ${level} changelogs headings found`); logger.trace({ repository }, `No level ${level} changelogs headings found`);
} }
logger.debug({ repository, version }, 'No entry found in CHANGELOG.md'); logger.trace({ repository, version }, 'No entry found in CHANGELOG.md');
return null; return null;
} }