mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-27 11:18:29 -04:00
13 lines
251 B
JavaScript
13 lines
251 B
JavaScript
'use strict';
|
|
|
|
const bin = require('.');
|
|
|
|
(async () => {
|
|
try {
|
|
await bin.run(['version']);
|
|
console.log('✔ Hugo installed successfully!');
|
|
} catch (error) {
|
|
console.error('✖ ERROR: Hugo installation failed. :(\n', error);
|
|
}
|
|
})();
|