Print out errors that occur during publishing.

This commit is contained in:
Daniel Holbert 2022-05-18 13:32:17 -07:00
Родитель 52895d30f0
Коммит 3d3b88b3b1
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -276,7 +276,8 @@ function runReset() {
function runPublish() {
ghpages.publish(DIST_DIR, function (err) {
if (err) {
console.error('There was an error during publishing.');
console.error('There was an error during publishing:');
console.error(err.message);
} else {
console.log('Publish to GitHub was successful.');
}