mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-10-04 14:25:39 -04:00
Clean up tests
This commit is contained in:
3 files changed
+12
-28
No files matched your search
+8
-5
@@ -2,8 +2,11 @@
|
||||
|
||||
const bin = require('.');
|
||||
|
||||
bin.run(['version']).then(() => {
|
||||
console.log('✔ Hugo installed successfully!');
|
||||
}).catch(error => {
|
||||
console.error('✖ ERROR: Hugo installation failed. :(\n', error);
|
||||
});
|
||||
(async () => {
|
||||
try {
|
||||
await bin.run(['version']);
|
||||
console.log('✔ Hugo installed successfully!');
|
||||
} catch (error) {
|
||||
console.error('✖ ERROR: Hugo installation failed. :(\n', error);
|
||||
}
|
||||
})();
|
||||
Reference in new issue
Block a user