mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-26 07:55:21 -04:00
13 lines
292 B
JavaScript
13 lines
292 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. :( Are you sure this platform is supported?\n', error);
|
|
}
|
|
})();
|