diff --git a/lib/handler.js b/lib/handler.js index e425149..d965883 100644 --- a/lib/handler.js +++ b/lib/handler.js @@ -84,7 +84,7 @@ module.exports = function (githubTarget, micropubDocument, siteUrl, options) { (formatted.files || []).map(file => { return publisher.publish(file.filename, file.buffer, { force: force, - message: 'uploading media' + message: 'micropublished media to ' + file.fiename }) .then(result => { // TODO: Do something more than just logging @@ -103,7 +103,7 @@ module.exports = function (githubTarget, micropubDocument, siteUrl, options) { return publisher.publish(formatted.filename, formatted.content, { force: force, - message: 'uploading ' + category + message: 'micropublished ' + category + ' to ' + formatted.filename }) .then(function (result) { return result ? formatted.url : false;