1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-19 09:45:30 -04:00

Remove signale

This commit is contained in:
XhmikosR
2021-12-07 11:22:06 +02:00
parent 4e3308dc3f
commit e524abe8fa
3 changed files with 4 additions and 329 deletions

View File

@@ -1,7 +1,6 @@
'use strict';
const path = require('path');
const signale = require('signale');
const bin = require('.');
function getProjectRoot() {
@@ -26,8 +25,8 @@ function getProjectRoot() {
bin(getProjectRoot()).run(['version'])
.then(() => {
signale.success('Hugo binary installed successfully!');
console.log('Hugo binary installed successfully!');
})
.catch(error => {
signale.fatal(`${error.message}\nHugo binary installation failed!`);
console.error(`${error.message}\nHugo binary installation failed!`);
});