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

Replace logalot with signale.

Less dependencies.
This commit is contained in:
XhmikosR
2018-10-07 11:40:35 +03:00
committed by Shun Sato
parent 905965969e
commit a24614e635
3 changed files with 22 additions and 394 deletions

View File

@@ -1,5 +1,5 @@
const path = require('path');
const log = require('logalot');
const signale = require('signale');
const bin = require('.');
function getProjectRoot() {
@@ -22,9 +22,9 @@ function getProjectRoot() {
bin(getProjectRoot()).run(['version'])
.then(() => {
log.success('Hugo binary is installed successfully');
signale.success('Hugo binary is installed successfully');
})
.catch(err => {
log.error(err.message);
log.error('Hugo binary installation failed');
signale.fatal(err.message);
signale.fatal('Hugo binary installation failed');
});