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

chore(*): upgrade bin-wrapper (#64)

This commit is contained in:
Shun Sato
2018-07-31 03:50:13 +09:00
committed by GitHub
parent 5a99e377af
commit 5214d55122
3 changed files with 1152 additions and 2092 deletions

View File

@@ -1,11 +1,11 @@
const bin = require('./');
const log = require('logalot');
bin.run(['version'], err => {
if (err) {
log.error(err.message);
log.error('Hugo binary installation failed');
return;
}
bin.run(['version'])
.then(() => {
log.success('Hugo binary is installed successfully');
})
.catch(err => {
log.error(err.message);
log.error('Hugo binary installation failed');
});