You've already forked hugo-extended
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:
@@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user