Clean up tests

This commit is contained in:
jake committed 2020-03-25 11:47:51 -04:00
1 parent 5f83a8752a
commit 1e11110408
3 files changed
+12 -28

No files matched your search

+8 -5
View File
@@ -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);
}
})();